aboutsummaryrefslogtreecommitdiff
path: root/include/sway/debug.h
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-07-01 00:00:15 +0900
committerDominique Martinet <asmadeus@codewreck.org>2018-07-02 00:09:56 +0900
commitce17788533600bedf06cdbfbac1f2bd373484a24 (patch)
treea2499c87509c9650a543a5e9c6b838e6d8364af2 /include/sway/debug.h
parent62a7b762aca206c0992bda51153fd0cfb4f41636 (diff)
exec_always: fix leaks
- child would leak in the workspace_record_pid path - removing malloc lets us get rid of That Comment nobody seems to remember what it was about - we would leak pipe fds on first fork failling - we didn't return an error if second fork failed - the final executed process still had both pipe fds (would show up in /proc/23560/fd in launched programs) - we would write twice to the pipe if execl failed for some reason (e.g. if /bin/sh doesn't exist?!)
Diffstat (limited to 'include/sway/debug.h')
0 files changed, 0 insertions, 0 deletions