mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Fix memory leak abort in debug mode
This commit is contained in:
committed by
Christian Decker
parent
3aa31d7cfd
commit
6dc7fc6aee
@@ -176,6 +176,7 @@ void daemon_maybe_debug(char *argv[])
|
||||
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 */
|
||||
if (system(cmd))
|
||||
;
|
||||
tal_free(cmd);
|
||||
/* Continue in the debugger. */
|
||||
kill(getpid(), SIGSTOP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user