Commit 01f3775b377fb126f16783c3f1628236766ef31d

Nick Mathewson 2009-11-21T01:11:49

Fix memory-leak of signal handler array with kqueue. [backport] 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.