diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 14:32:23 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | cfee0cd7d2a704153df73449be38fcef60b958eb (patch) | |
tree | 097f83c2c95c985ae55a2a8b501e4cf60a8d5f21 /src/server | |
parent | a9450b3903b93a5d86c1295d12a4786791186361 (diff) | |
download | ingen-cfee0cd7d2a704153df73449be38fcef60b958eb.tar.gz ingen-cfee0cd7d2a704153df73449be38fcef60b958eb.tar.bz2 ingen-cfee0cd7d2a704153df73449be38fcef60b958eb.zip |
Fix suppressed automatic moves
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/SocketListener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/SocketListener.cpp b/src/server/SocketListener.cpp index 08a719fd..272aa627 100644 --- a/src/server/SocketListener.cpp +++ b/src/server/SocketListener.cpp @@ -54,7 +54,7 @@ get_link_target(const char* link_path) // Allocate buffer and read link target char* target = static_cast<char*>(calloc(1, link_stat.st_size + 1)); if (readlink(link_path, target, link_stat.st_size) != -1) { - const std::string result(target); + std::string result(target); free(target); return result; } |