summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index b67ea8e..57a97a5 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -1890,7 +1890,7 @@ static int og_cmd_images(char *buffer_reply)
return -1;
}
- json_array_append(images, image_json);
+ json_array_append_new(images, image_json);
}
dbi_result_free(result);