diff options
-rw-r--r-- | src/afm-udb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-udb.c b/src/afm-udb.c index e9b1e2d..be1a5d3 100644 --- a/src/afm-udb.c +++ b/src/afm-udb.c @@ -117,7 +117,7 @@ static int append_field( array = json_object_new_array(); if (!array) goto error; - json_object_array_add(array, item); + json_object_array_add(array, json_object_get(item)); json_object_object_add(object, name, array); } json_object_array_add(array, data); |