aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-07 09:53:51 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-15 14:00:46 -0400
commitf9f3a5ecde4cb636d8eb43edc0d097bd364ffe75 (patch)
treee9c8956d719caa9e080adc76423f36200ed42c3c /scripts/qapi-commands.py
parentqapi: Un-inline visit of implicit struct (diff)
downloadqemu-f9f3a5ecde4cb636d8eb43edc0d097bd364ffe75.tar.xz
qemu-f9f3a5ecde4cb636d8eb43edc0d097bd364ffe75.zip
hmp: Call visit_end_struct() after visit_start_struct() succeeds
When visit_start_struct() succeeds, visit_end_struct() must be called. hmp_object_add() doesn't when a member visit fails. As far as I can tell, the opts visitor copes okay with the misuse. Fix it anyway. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions