Do not leak id

This commit is contained in:
Yevgen Muntyan 2008-02-20 18:44:25 -06:00
parent d8f639a55d
commit 23570fde84

View File

@ -192,6 +192,7 @@ moo_ipc_unregister_client (GObject *object,
return; return;
} }
g_free (l->data);
g_object_weak_unref (object, (GWeakNotify) client_died, ids); g_object_weak_unref (object, (GWeakNotify) client_died, ids);
ids = g_slist_delete_link (ids, l); ids = g_slist_delete_link (ids, l);
if (ids) if (ids)