fixed bunch of memory leaks in json constructor
authorDenis Pronin <dannftk@yandex.ru>
Sun, 10 Apr 2022 12:41:47 +0000 (15:41 +0300)
committerDenis Pronin <dannftk@yandex.ru>
Sun, 17 Apr 2022 18:33:17 +0000 (21:33 +0300)
commite0825685ecf76988683488390096890114478aab
tree32fa7a4a50c36cac2c107947afa650185bc996f0
parente03f051d84d6f9c7631ed549460a4da34ca86eaa
fixed bunch of memory leaks in json constructor

fixed memory leak produced by not freed string given by 'strdup' in
'json_object_add_value_string' function

Signed-off-by: Denis Pronin <dannftk@yandex.ru>
json.h