diff options
| -rw-r--r-- | src/oplist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oplist.c b/src/oplist.c index b3b782f..df12fb3 100644 --- a/src/oplist.c +++ b/src/oplist.c | |||
| @@ -851,6 +851,7 @@ PLIST_API int plist_from_openstep(const char *plist_ostep, uint32_t length, plis | |||
| 851 | } else if (ctx.pos < ctx.end && *ctx.pos == '=') { | 851 | } else if (ctx.pos < ctx.end && *ctx.pos == '=') { |
| 852 | /* attempt to parse this as 'strings' data */ | 852 | /* attempt to parse this as 'strings' data */ |
| 853 | plist_free(*plist); | 853 | plist_free(*plist); |
| 854 | *plist = NULL; | ||
| 854 | plist_t pl = plist_new_dict(); | 855 | plist_t pl = plist_new_dict(); |
| 855 | ctx.pos = plist_ostep; | 856 | ctx.pos = plist_ostep; |
| 856 | parse_dict_data(&ctx, pl); | 857 | parse_dict_data(&ctx, pl); |
