From 2efe6be99415deb781955590edfc2541131be4bb Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Wed, 15 Jul 2015 10:39:32 -0700 Subject: Clear JSON parser status in reset. --- upb/json/parser.rl | 1 + 1 file changed, 1 insertion(+) (limited to 'upb/json/parser.rl') diff --git a/upb/json/parser.rl b/upb/json/parser.rl index 8896d7b..40b7724 100644 --- a/upb/json/parser.rl +++ b/upb/json/parser.rl @@ -1285,6 +1285,7 @@ static void json_parser_reset(upb_json_parser *p) { p->multipart_state = MULTIPART_INACTIVE; p->capture = NULL; p->accumulated = NULL; + upb_status_clear(&p->status); } -- cgit v1.2.3