From: Martin Mares Date: Wed, 28 Jul 2010 20:26:38 +0000 (+0200) Subject: Main: Remember to free the poll table X-Git-Tag: v5.0~129^2~32 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1f9a2cc63dd05be7b317dd1e3b9daf4737076eff;p=libucw.git Main: Remember to free the poll table --- diff --git a/ucw/mainloop.c b/ucw/mainloop.c index 90ee874d..2b261870 100644 --- a/ucw/mainloop.c +++ b/ucw/mainloop.c @@ -75,8 +75,9 @@ main_delete(struct main_context *m) ASSERT(clist_empty(&m->process_list)); if (m->timer_table) GARY_FREE(m->timer_table); - // FIXME: Free poll table + xfree(m->poll_table); xfree(m); + // FIXME: Some mechanism for cleaning up after fork() } struct main_context *