JsonValueFree() should take care of strings too.

This commit is contained in:
Jordan Bancino 2022-07-28 22:21:49 -04:00
parent 710b1a7b81
commit 787a891cb8

View file

@ -287,6 +287,9 @@ JsonValueFree(JsonValue * value)
}
ArrayFree(arr);
break;
case JSON_STRING:
free(value->as.string);
break;
default:
break;
}