summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.c b/src/plist.c
index 940362e..137188e 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -70,7 +70,7 @@ static void plist_free_data(plist_data_t data)
70static int plist_free_node(node_t* node) 70static int plist_free_node(node_t* node)
71{ 71{
72 plist_data_t data = NULL; 72 plist_data_t data = NULL;
73 int index = node_detach(node->parent, node); 73 int node_index = node_detach(node->parent, node);
74 data = plist_get_data(node); 74 data = plist_get_data(node);
75 plist_free_data(data); 75 plist_free_data(data);
76 node->data = NULL; 76 node->data = NULL;
@@ -84,7 +84,7 @@ static int plist_free_node(node_t* node)
84 84
85 node_destroy(node); 85 node_destroy(node);
86 86
87 return index; 87 return node_index;
88} 88}
89 89
90plist_t plist_new_dict(void) 90plist_t plist_new_dict(void)