Fix memory leaks in test_double_serializer, and make sure all tests return 0 at the end of main().

This commit is contained in:
Eric Haszlakiewicz
2019-11-23 12:05:28 -05:00
parent 3d3b014971
commit 25aedddcdf
5 changed files with 12 additions and 0 deletions

View File

@@ -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;
}