diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-04-17 23:25:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-04-17 23:25:16 +0000 |
commit | a6d52405a8eea89d803a95843687c49f9115ca65 (patch) | |
tree | 35f2d687f5d06640a5c975de11488d91cc400428 /cmd-select-layout.c | |
parent | 842bc2b855114984c6c182b83523d7268b8b2b0b (diff) | |
download | rtmux-a6d52405a8eea89d803a95843687c49f9115ca65.tar.gz rtmux-a6d52405a8eea89d803a95843687c49f9115ca65.tar.bz2 rtmux-a6d52405a8eea89d803a95843687c49f9115ca65.zip |
If remain-on-exit is set, both the error callback and a SIGCHLD could
destroy the same pane (because the first one doesn't remove it from the
list of panes), causing the pane bufferevent to be freed twice. So don't
free it if the fd has already been set to -1, from Romain Francoise.
Diffstat (limited to 'cmd-select-layout.c')
0 files changed, 0 insertions, 0 deletions