diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-19 23:58:29 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-19 23:58:29 +0200 |
commit | 3fe96c552080619a02e6fa0b085c2b1ad32805b6 (patch) | |
tree | 8e1033451b7dc490940237bea00db72388f4df36 | |
parent | 8acdbeb8e5ac3754173d811382a1e2da0ac7037d (diff) |
eval: fix memory leak in ut_execute_local()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -427,6 +427,7 @@ ut_execute_local(struct ut_state *state, uint32_t off) if (ut_is_type(val, T_EXCEPTION)) return val; + json_object_put(rv); rv = ut_setval(state->scope->scope, label, val); } } |