summaryrefslogtreecommitdiffhomepage
path: root/value.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-04 15:48:36 +0100
committerJo-Philipp Wich <jo@mein.io>2021-03-08 17:11:49 +0100
commite88ed690d38beaf2b9919e2fc03223d33f24459a (patch)
tree8aa51fa0437d4a57199075ed39aff8825056394b /value.c
parentc433a31360612dfd5b263cea5afa8e2c8fbcca5b (diff)
vm: fix global scope refcount imbalance
The uc_vm_execute() API function decreases the refcount of the globals object when finishing but does not increase it initially which leads to a double free at main.c:155 Fix the issue by both increasing and decreasing the refcount. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'value.c')
0 files changed, 0 insertions, 0 deletions