Closed nekijbt closed 3 years ago
Defining another one internal variable "struct json_object *array" in curly braces makes next call "json_object_put(array)" meaningless, do not free LOST pointer to "array" and cause memory leak.
Thanks for the fix.
Defining another one internal variable "struct json_object *array" in curly braces makes next call "json_object_put(array)" meaningless, do not free LOST pointer to "array" and cause memory leak.