]> git.ipfire.org Git - thirdparty/json-c.git/commit
Handle NULL gracefully in json_tokener_free 879/head
authorJán Tomko <jtomko@redhat.com>
Wed, 6 Nov 2024 14:19:04 +0000 (15:19 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 6 Nov 2024 14:23:00 +0000 (15:23 +0100)
commit828c12b22661de53d6497bd1410c68cb153b4f35
treebf6560ad1f61c034c7cf24726f749f13c5218d86
parent07148f33a1c24a7159c6a58b091238c444d74e31
Handle NULL gracefully in json_tokener_free

Similarly to glibc's free, make json_tokener_free(NULL)
a no-op, to simplify cleanup paths.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
json_tokener.c