diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 17:30:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 19:19:32 +0200 |
commit | 206630d7141f32594e9110081f6710446f5aebd3 (patch) | |
tree | caa3ae2c780327928fd1332930306a08d57ddd2e | |
parent | d49f59e31488bdf5992638e7cb84e8d8e4367372 (diff) |
eval: release root scope after finishing the execution
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1833,6 +1833,7 @@ ut_run(struct ut_state *state, struct json_object *env, struct json_object *modu rv = ut_invoke(state, state->main, NULL, entry, args); out: + json_object_put(scope); json_object_put(entry); json_object_put(args); json_object_put(rv); |