Replace one call to json_object_new_array() with json_object_new_array_ext() to ensure it at least minimally works.

This commit is contained in:
Eric Haszlakiewicz
2020-06-29 02:35:26 +00:00
parent 0b67caec1a
commit 34334e5d3f

View File

@@ -250,7 +250,7 @@ int main(int argc, char **argv)
test_array_del_idx();
test_array_list_expand_internal();
my_array = json_object_new_array();
my_array = json_object_new_array_ext(5);
json_object_array_add(my_array, json_object_new_int(3));
json_object_array_add(my_array, json_object_new_int(1));
json_object_array_add(my_array, json_object_new_int(2));