diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 20:01:21 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 20:01:25 +0200 |
commit | fb2056c6f5c3dcbf2cd44518a7c658471607bb2d (patch) | |
tree | 08478a071d7b7bb33f35c933819ff96fede47e64 | |
parent | 8ede779516df565619052f42c87b54cc055021bd (diff) |
Revert "eval: release root scope after finishing the execution"
This reverts commit 206630d7141f32594e9110081f6710446f5aebd3.
Revert this commit to fix a double-free.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | eval.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1797,7 +1797,6 @@ 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); |