diff options
Diffstat (limited to 'strings/json_lib.c')
-rw-r--r-- | strings/json_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c index 5eda81d96c5..0e2a17b0ae0 100644 --- a/strings/json_lib.c +++ b/strings/json_lib.c @@ -1248,6 +1248,7 @@ static int handle_match(json_engine_t *je, json_path_t *p, if (++next_step > p->last_step) { je->s.c_str= je->value_begin; + je->stack_p--; return 1; } } while (next_step->type == JSON_PATH_ARRAY && next_step->n_item == 0); |