Files
openwrt/package/libs/libjson-c
Satoshi Ikeuchi 102f4eebca libjson-c: backport userdata cleanup fixes
Backport two upstream json-c fixes for object cleanup in version 0.19.
Clear the user-delete callback after calling it to avoid a second call
and double-free. Clear userdata so iterative cleanup cannot interpret
application data as a parent-object pointer.

Include the upstream regression test and its expected output. Bump the
package release to make the fixes available in updated packages.

Upstream: https://github.com/json-c/json-c/commit/3aa996b5b6bd96c29f2c6da98da33c3fb3d13038
Upstream: https://github.com/json-c/json-c/commit/0c3a5a1994ed6b5957d2e878fc1298ce9aa09b3f
Signed-off-by: Satoshi Ikeuchi <satosan.ikm@gmail.com>
2026-10-20 12:35:14 +02:00
..