diff options
author | default <nobody@localhost> | 2022-10-07 13:48:53 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-07 13:48:53 +0200 |
commit | a4cf695e60e0d4f79638cb1f37f78b524411efcf (patch) | |
tree | 3db5747f1f75e67bf5785c18b6753bfa80d6a9fa /xs_json.h | |
parent | 17842c2a797a3091e937025e06e17a14e2a1a4e6 (diff) |
Backport from xs.
Diffstat (limited to 'xs_json.h')
-rw-r--r-- | xs_json.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ d_char *xs_json_loads(const char *json) d_char *v = NULL; js_type t; - _xs_json_loads_lexer(&json, &t); + free(_xs_json_loads_lexer(&json, &t)); if (t == JS_OBRACK) v = _xs_json_loads_array(&json, &t); |