summaryrefslogtreecommitdiffhomepage
path: root/lib.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-19 13:53:47 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-19 13:53:47 +0200
commit338d02300970d76ce76e789ab3c8210f9abd927c (patch)
treefd648f6cc51fb9baad7c839f06c9ed3426b7c3c5 /lib.c
parent036ba87c5d18385c5da13c331658363ea0ba6afe (diff)
ast: fix scope double free in ut_free()
Zero the scope object pointer in the scope structure before putting the JSON object in order to avoid a double-free by the scope's userdata destructor function. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions