diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-01 00:00:15 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-02 00:09:56 +0900 |
commit | ce17788533600bedf06cdbfbac1f2bd373484a24 (patch) | |
tree | a2499c87509c9650a543a5e9c6b838e6d8364af2 /include/unicode.h | |
parent | 62a7b762aca206c0992bda51153fd0cfb4f41636 (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/unicode.h')
0 files changed, 0 insertions, 0 deletions