OSDN Git Service

gdbus: Fix not freeing list node by using g_slist_delete_link
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Oct 2012 17:45:38 +0000 (20:45 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Oct 2012 11:38:42 +0000 (14:38 +0300)
commite4bf2b16ddf6cd8eaf998ca3b0c6511f0602ea38
tree09eaf6821a338c98dff6cb0112800937790f37bd
parent9a4318f6d23707a7411f4e3b80b05e3c55b3d428
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