mirror of
https://github.com/kgabis/parson.git
synced 2025-02-05 17:05:29 +00:00
Fixed memory leak in example.
This commit is contained in:
parent
638190d6a0
commit
e4ac46318e
@ -114,6 +114,7 @@ void serialization_example(void) {
|
||||
serialized_string = json_serialize_to_string(root_value);
|
||||
puts(serialized_string);
|
||||
json_free_serialized_string(serialized_string);
|
||||
json_value_free(root_value);
|
||||
}
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user