summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 9cc380c..124b024 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -1156,7 +1156,7 @@ PLIST_API void plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length)
1156 //list of objects 1156 //list of objects
1157 objects = ptr_array_new(256); 1157 objects = ptr_array_new(256);
1158 //hashtable to write only once same nodes 1158 //hashtable to write only once same nodes
1159 ref_table = hash_table_new(plist_data_hash, plist_data_compare); 1159 ref_table = hash_table_new(plist_data_hash, plist_data_compare, free);
1160 1160
1161 //serialize plist 1161 //serialize plist
1162 ser_s.objects = objects; 1162 ser_s.objects = objects;