diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-08-23 18:40:17 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-24 20:26:37 +0200 |
commit | a2731e08ee8633fcdc2af944b8f8f315678f7669 (patch) | |
tree | fb052528d60996d51c6924c3bc4b9a5333dca038 /qobject/json-parser.c | |
parent | 8d3265b3d00db1071d1d3bf8433b4818088fdeb5 (diff) |
json: Unbox tokens queue in JSONMessageParser
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-51-armbru@redhat.com>
Diffstat (limited to 'qobject/json-parser.c')
-rw-r--r-- | qobject/json-parser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qobject/json-parser.c b/qobject/json-parser.c index 685e9dac24..e9a9f937f3 100644 --- a/qobject/json-parser.c +++ b/qobject/json-parser.c @@ -552,7 +552,6 @@ QObject *json_parser_parse(GQueue *tokens, va_list *ap, Error **errp) parser_context_pop_token(&ctxt); } g_free(ctxt.current); - g_queue_free(ctxt.buf); return result; } |