mirror of
https://github.com/json-c/json-c.git
synced 2026-04-07 06:19:07 +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:
@@ -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