From 0f0f596ae5d5f0f0dd576e5da8b15ee8a652790e Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 16 Mar 2006 22:01:17 +0000 Subject: Fix GWatch leak in glib-ectomy.c --- common/glib-ectomy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/glib-ectomy.c b/common/glib-ectomy.c index efc9e20d..463d0aee 100644 --- a/common/glib-ectomy.c +++ b/common/glib-ectomy.c @@ -179,6 +179,7 @@ void g_main_loop_run(GMainLoop *loop) w->destroy(w->user_data); p->next = w->next; memset(w, 0, sizeof(*w)); + free(w); w = p->next; i++; continue; -- cgit