diff options
| author | 2022-10-07 13:48:53 +0200 | |
|---|---|---|
| committer | 2022-10-07 13:48:53 +0200 | |
| commit | a4cf695e60e0d4f79638cb1f37f78b524411efcf (patch) | |
| tree | 3db5747f1f75e67bf5785c18b6753bfa80d6a9fa /xs_json.h | |
| parent | Don't indent entry children beyond 4. (diff) | |
| download | penes-snac2-a4cf695e60e0d4f79638cb1f37f78b524411efcf.tar.gz penes-snac2-a4cf695e60e0d4f79638cb1f37f78b524411efcf.tar.xz penes-snac2-a4cf695e60e0d4f79638cb1f37f78b524411efcf.zip | |
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) | |||
| 508 | d_char *v = NULL; | 508 | d_char *v = NULL; |
| 509 | js_type t; | 509 | js_type t; |
| 510 | 510 | ||
| 511 | _xs_json_loads_lexer(&json, &t); | 511 | free(_xs_json_loads_lexer(&json, &t)); |
| 512 | 512 | ||
| 513 | if (t == JS_OBRACK) | 513 | if (t == JS_OBRACK) |
| 514 | v = _xs_json_loads_array(&json, &t); | 514 | v = _xs_json_loads_array(&json, &t); |