[Lldb-commits] [PATCH] Fix socket leak in lldb-server platform
vince at nethacker.com
Sun Mar 29 23:02:02 PDT 2015
Hi clayborg, flackr, tberghammer,
lldb-server server process was holding on to a connection to every
client that connected. This continued until the process hit it's
file limit and exited.
@@ -287,6 +287,10 @@
while (waitpid(-1, nullptr, WNOHANG) > 0);
+ // Parent doesn't need a connection to the lldb client
+ delete socket;
+ socket = nullptr;
// Parent will continue to listen for new connections.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 563 bytes
Desc: not available
More information about the lldb-commits