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)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 4 Oct 2012 06:56:11 +0000 (09:56 +0300)
commit5eee13984f9f34c64c54b1567392ed7867b4312f
tree58da81cf6f51fd02dd9ae12c82fd62aa4f5a7307
parent297a1d9c92957c7cfb7a0275056cde5acd9924f8
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