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:24 +0000 (14:57 +0300)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 31 Oct 2012 21:18:58 +0000 (16:18 -0500)
commit320096a7da23c3262499b78e2be8bd59e73839be
tree4e09eda3a0e1c359095d3b05ee8bbef3bbd0f1b9
parent19cb623390abf9ad476ebb25ff8e5a00f0942378
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