summaryrefslogtreecommitdiffhomepage
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 68fda6e..88f3cee 100644
--- a/eval.c
+++ b/eval.c
@@ -777,7 +777,7 @@ ut_execute_list(struct ut_state *state, struct ut_opcode *op)
static struct json_object *
ut_execute_object(struct ut_state *state, struct ut_opcode *op)
{
- struct json_object *obj = json_object_new_object();
+ struct json_object *obj = ut_new_object(state, NULL);
struct ut_opcode *key, *val;
if (!obj)