diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-19 13:53:47 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-19 13:53:47 +0200 |
commit | 338d02300970d76ce76e789ab3c8210f9abd927c (patch) | |
tree | fd648f6cc51fb9baad7c839f06c9ed3426b7c3c5 /lib.c | |
parent | 036ba87c5d18385c5da13c331658363ea0ba6afe (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