]> Git Repo - qemu.git/commit
json-parser: simplify and avoid JSONParserContext allocation
authorMarc-André Lureau <[email protected]>
Thu, 23 Aug 2018 16:39:59 +0000 (18:39 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commite8b19d7d7300366a1dd85273512657bbeab564ab
tree26227aef51ef6599071ab19151aafda25bf62fdd
parent7c1e1d5481fe8d2e757469179f9ccd14e8838ed1
json-parser: simplify and avoid JSONParserContext allocation

parser_context_new/free() are only used from json_parser_parse(). We
can fold the code there and avoid an allocation altogether.

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20180719184111[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Message-Id: <20180823164025[email protected]>
qobject/json-parser.c
This page took 0.02458 seconds and 4 git commands to generate.