Commit ae73fedf authored by Mihai Moldovan's avatar Mihai Moldovan

nxcomp/src/Loop.cpp: fix small memory leak.

parent 1e448d2f
......@@ -3183,6 +3183,8 @@ int SetupProxyConnection()
nxinfo << "Loop: connectSocket is "<< ( connectSocket.enabled() ? "enabled" : "disabled") << ". "
<< "The socket URI is '"<< ( socketUri != NULL ? socketUri : "<unset>") << "'.\n" << std::flush;
SAFE_FREE(socketUri);
listenSocket.getSpec(&socketUri);
nxinfo << "Loop: listenSocket is "<< ( listenSocket.enabled() ? "enabled" : "disabled") << ". "
<< "The socket URI is '"<< ( socketUri != NULL ? socketUri : "<unset>") << "'.\n" << std::flush;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment