Do not leak id
This commit is contained in:
parent
d8f639a55d
commit
23570fde84
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user