summaryrefslogtreecommitdiffstats
path: root/common/glib-ectomy.c
diff options
context:
space:
mode:
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;