diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 20:58:14 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 21:08:39 +0100 |
commit | 1ef262c7f3fd8f9d4c183e2b58a7fb9a0dbdcd10 (patch) | |
tree | 14f90e97ce2611556bd6212605f5347f66fb2745 /src/server | |
parent | 39dbbeccf55f953f975f61888dccfb2d14382f79 (diff) | |
download | ingen-1ef262c7f3fd8f9d4c183e2b58a7fb9a0dbdcd10.tar.gz ingen-1ef262c7f3fd8f9d4c183e2b58a7fb9a0dbdcd10.tar.bz2 ingen-1ef262c7f3fd8f9d4c183e2b58a7fb9a0dbdcd10.zip |
Cleanup: Fix potential memory leak
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/SocketListener.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/SocketListener.cpp b/src/server/SocketListener.cpp index ac4b9f9e..b4b50a14 100644 --- a/src/server/SocketListener.cpp +++ b/src/server/SocketListener.cpp @@ -59,6 +59,7 @@ get_link_target(const char* link_path) return result; } + free(target); return std::string(); } |