mirror of
https://github.com/json-c/json-c.git
synced 2026-11-09 15:30:14 +08:00
Fix memory leaks in test_double_serializer, and make sure all tests return 0 at the end of main().
This commit is contained in:
1 parent
3d3b014971
commit
25aedddcdf
5 files changed
+12
No files matched your search
@@ -58,5 +58,7 @@ int main(int argc, char **argv)
|
||||
|
||||
printf("new_obj.to_string()=%s\n", json_object_to_json_string_ext(new_obj,JSON_C_TO_STRING_NOZERO));
|
||||
json_object_put(new_obj);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user