diff options
author | Aaron Burghardt | 2014-08-24 21:11:36 -0400 |
---|---|---|
committer | Aaron Burghardt | 2014-08-25 06:07:32 -0400 |
commit | bc147d80b5a608b8a0478041e5198093ecd767b8 (patch) | |
tree | 67650fcc5aed8aab704325acd37f0fde88e05542 /src/bplist.c | |
parent | 83650b30ad5ef6a4de0bb988bd653298db5eba9a (diff) | |
download | libplist-bc147d80b5a608b8a0478041e5198093ecd767b8.tar.gz libplist-bc147d80b5a608b8a0478041e5198093ecd767b8.tar.bz2 |
Fixed memory leaks in new_xml_plist() and parse_real_node().
Diffstat (limited to 'src/bplist.c')
-rw-r--r-- | src/bplist.c | 1 |
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; } |