Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/pdag.c
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,10 @@ LN_DBGPRINTF(dag->ctx, "%zu: enter parser, dag node %p, json %p", offs, dag, jso
json_object_put(value);
}
}
} else {
if (value != NULL) { /* Free the value if it was created */
json_object_put(value);
}
}
/* did we have a longer parser --> then update */
if(parsedTo > npb->parsedTo)
Expand Down