diff options
author | Jonathan Beck | 2009-07-08 19:35:58 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-07-08 19:35:58 +0200 |
commit | 192f335086e55e5e550557e630c5b9de461570d0 (patch) | |
tree | 58f9ee42947b6f8dc731459890cfe371c530856b /src/plist.c | |
parent | c8a140dce1d160c1766d3e0ac1346900efc193f3 (diff) | |
download | libplist-192f335086e55e5e550557e630c5b9de461570d0.tar.gz libplist-192f335086e55e5e550557e630c5b9de461570d0.tar.bz2 |
Unlink node from tree when freeing.
Diffstat (limited to 'src/plist.c')
-rw-r--r-- | src/plist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c index e43d50d..cd563aa 100644 --- a/src/plist.c +++ b/src/plist.c @@ -46,6 +46,7 @@ plist_data_t plist_new_plist_data(void) static void plist_free_node(GNode * node, gpointer none) { + g_node_unlink(node); plist_data_t data = plist_get_data(node); if (data) { switch (data->type) { |