summaryrefslogtreecommitdiff
path: root/evthread-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-11-21 01:11:49 -0500
committerNick Mathewson <nickm@torproject.org>2009-11-21 23:57:44 -0500
commite1ffbb82e34d786d07a5acdb16077f6526f610c3 (patch)
tree391a48d67ac995d0951408b2bf788654d1c12302 /evthread-internal.h
parent07e9e9b4b1d6c29fbca214f105567717e29ade2b (diff)
downloadlibevent-e1ffbb82e34d786d07a5acdb16077f6526f610c3.tar.gz
Fix memory-leak of signal handler array with kqueue.
It turns out that kqueue_dealloc wasn't calling evsig_dealloc() (because it doesn't use the main signal handler logic) so the sh_old array was leaking. This patch also introduces a fix in evsig_dealloc() where we set the sh_old array to NULL when we free it, so that main/fork can pass.
Diffstat (limited to 'evthread-internal.h')
0 files changed, 0 insertions, 0 deletions