summaryrefslogtreecommitdiffstats
path: root/common/glib-ectomy.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-03-16 22:01:17 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-03-16 22:01:17 +0000
commit0f0f596ae5d5f0f0dd576e5da8b15ee8a652790e (patch)
tree4bcf9864abc74b2ba2e7850ef2d834507855db0a /common/glib-ectomy.c
parente6edccc19224e03227351de839e02637516bf6f9 (diff)
Fix GWatch leak in glib-ectomy.c
Diffstat (limited to 'common/glib-ectomy.c')
-rw-r--r--common/glib-ectomy.c1
1 files changed, 1 insertions, 0 deletions
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;