diff options
author | Eric Blake <eblake@redhat.com> | 2015-10-14 16:30:25 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-10-15 08:37:11 +0200 |
commit | d08ac81a459258ce20b3184fa9325c6c1350ac9e (patch) | |
tree | 66c6c0716522439034e1914a9f76900cffc92ba2 /softmmu_template.h | |
parent | c49d3411faae8ffaab8f7e5db47405a008411c10 (diff) | |
download | qemu-d08ac81a459258ce20b3184fa9325c6c1350ac9e.zip qemu-d08ac81a459258ce20b3184fa9325c6c1350ac9e.tar.gz qemu-d08ac81a459258ce20b3184fa9325c6c1350ac9e.tar.bz2 |
qapi: Fix regression with '-netdev help'
Commit e36c714e causes 'qemu -netdev help' to dump core, because the
call to visit_end_union() is no longer conditional on whether *obj was
allocated.
Reported by Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1444861825-19256-1-git-send-email-eblake@redhat.com>
[Commit message tweaked to say 'help' instead of '?']
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'softmmu_template.h')
0 files changed, 0 insertions, 0 deletions