forked from Telodendria/Telodendria
JsonValueFree() should take care of strings too.
This commit is contained in:
parent
710b1a7b81
commit
787a891cb8
1 changed files with 3 additions and 0 deletions
|
@ -287,6 +287,9 @@ JsonValueFree(JsonValue * value)
|
|||
}
|
||||
ArrayFree(arr);
|
||||
break;
|
||||
case JSON_STRING:
|
||||
free(value->as.string);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue