Commit e1ffbb82e34d786d07a5acdb16077f6526f610c3

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

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.