mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
8d3265b3d0
commit
a2731e08ee
3 changed files with 12 additions and 21 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue