diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jplist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jplist.c b/src/jplist.c index 827b367..65eb528 100644 --- a/src/jplist.c +++ b/src/jplist.c @@ -663,6 +663,7 @@ static plist_t parse_object(const char* js, jsmntok_info_t* ti, int* index) if (val) { plist_dict_set_item(obj, key, val); } else { + free(key); plist_free(obj); return NULL; } |