gdbus: Fix not freeing list node by using g_slist_delete_link
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Oct 2012 11:57:06 +0000 (14:57 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 26 Nov 2012 13:48:38 +0000 (14:48 +0100)
commit04f6ca58acb27d7a97a0817bd967e5a7af549be5
tree2efa94aace6e3e3482ef65c6de069477522af78e
parent60d1aac0182cf2bab8efdabaeb3f14a21c841d35
gdbus: Fix not freeing list node by using g_slist_delete_link

g_slist_remove_link does not free the node which can cause leaks so
replace that with g_slist_delete_link which does free memory properly.
gdbus/watch.c