]> git.ipfire.org Git - thirdparty/json-c.git/commit
Preserve context if out of memory 758/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 20 Mar 2022 12:22:46 +0000 (13:22 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 31 Mar 2022 16:05:48 +0000 (18:05 +0200)
commit0c0d9014434284612822ca267d42c21bffd2ef01
tree2be8303d7c1a1241f4b918e17945cb738280b4e3
parent79459b2de2598fb0c03aa9615e168016b8fb69d3
Preserve context if out of memory

If memory allocation fails in json_c_set_serialization_double_format or
json_object_copy_serializer_data then return with an error value and
preserve previous values without overriding them with NULL.
json_object.c