aboutsummaryrefslogtreecommitdiff
path: root/src/json-gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/json-gram.y')
-rw-r--r--src/json-gram.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json-gram.y b/src/json-gram.y
index fe8996b..d5b0248 100644
--- a/src/json-gram.y
+++ b/src/json-gram.y
@@ -277,12 +277,13 @@ json_parse_string(char const *input, size_t len)
{
jsonlex_setup(input, len);
if (yyparse()) {
/* FIXME: error recovery */
return NULL;
}
+ jsonlex_cleanup();
return json_return_obj;
}
struct json_value *
json_value_lookup(struct json_value *obj, const char *ident)
{

Return to:

Send suggestions and report system problems to the System administrator.