summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 5789f26..91d5578 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -251,6 +251,7 @@ static plist_t parse_real_node(char *bnode, uint8_t size)
data->realval = *(double *) buf;
break;
default:
+ free(buf);
free(data);
return NULL;
}