Browse Source

Issue #539: be sure to clean up at the end of test_set_value.

tags/json-c-0.14-20200419
Eric Haszlakiewicz 5 years ago
parent
commit
4bf7ffa984
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/test_set_value.c

+ 1
- 0
tests/test_set_value.c View File

@@ -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");


Loading…
Cancel
Save