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 91d5578..181c150 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -726,7 +726,7 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
726 for (i = 0; i < num_objects; i++) { 726 for (i = 0; i < num_objects; i++) {
727 if (i == root_object) continue; 727 if (i == root_object) continue;
728 node_t* node = (node_t*)nodeslist[i]; 728 node_t* node = (node_t*)nodeslist[i];
729 if (NODE_IS_ROOT(node)) { 729 if (node && NODE_IS_ROOT(node)) {
730 plist_free(node); 730 plist_free(node);
731 } 731 }
732 } 732 }