Commit 192f3350 authored by Jonathan Beck's avatar Jonathan Beck

Unlink node from tree when freeing.

parent c8a140dc
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment