mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 05:29:07 +08:00
Issue #539: be sure to clean up at the end of test_set_value.
This commit is contained in:
@@ -51,6 +51,7 @@ int main(int argc, char **argv)
|
||||
const char *serialized = json_object_to_json_string(tmp);
|
||||
fprintf(stderr, "%s\n", serialized);
|
||||
assert(strncmp(serialized, "12.3", 4)==0);
|
||||
json_object_put(tmp);
|
||||
printf("PARSE AND SET PASSED\n");
|
||||
|
||||
printf("PASSED\n");
|
||||
|
||||
Reference in New Issue
Block a user