summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plist.c1
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) {