commit | b03418fc6be38e73746a9a0d95773286d20928a9 | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Sun Apr 18 15:10:55 2010 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Sun Apr 18 15:10:55 2010 +0000 |
tree | e8e185dd0250abbad93fce05ca67a39cc0755d1d | |
parent | c0f03afbac2392c005f302e13f10546bf30505df [diff] |
Sync OpenBSD patchset 682: 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.