summaryrefslogtreecommitdiffstats
path: root/src/oplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/oplist.c')
-rw-r--r--src/oplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oplist.c b/src/oplist.c
index 168c921..0ad1d1c 100644
--- a/src/oplist.c
+++ b/src/oplist.c
@@ -742,6 +742,7 @@ static int node_from_openstep(parse_ctx ctx, plist_t *plist)
ctx->pos++;
}
if (ctx->pos >= ctx->end) {
+ plist_free_data(data);
PLIST_OSTEP_ERR("EOF while parsing quoted string at offset %ld\n", ctx->pos - ctx->start);
ctx->err++;
goto err_out;