diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-03-01 08:40:39 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-03-03 11:17:45 -0500 |
commit | b774539743c52ef605c6e2cbac19376c2757cb86 (patch) | |
tree | 5f5f8d35d87fb56ee91feb1ee06c5564cb5efe47 /tests/test-qmp-commands.c | |
parent | 25a7017555f1b4aeb543b5d323ff4afb8f9c5437 (diff) | |
download | hqemu-b774539743c52ef605c6e2cbac19376c2757cb86.zip hqemu-b774539743c52ef605c6e2cbac19376c2757cb86.tar.gz |
qapi: Add missing null check to opts_start_struct()
Argument is null when visiting an unboxed struct. I can't see such a
visit in the current code. 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 'tests/test-qmp-commands.c')
0 files changed, 0 insertions, 0 deletions