aboutsummaryrefslogtreecommitdiff
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-02-17 21:38:12 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-02-22 19:51:37 +0100
commitb25f23e7dbc6bc0dcda010222a4f178669d1aedc (patch)
treef81f708767f5f2ccea3118d88e86e6075c96ae9b /qemu-img-cmds.hx
parentd3be4b57cefde105299e234f0659b77f37920c72 (diff)
downloadqemu-b25f23e7dbc6bc0dcda010222a4f178669d1aedc.zip
qemu-b25f23e7dbc6bc0dcda010222a4f178669d1aedc.tar.gz
qemu-b25f23e7dbc6bc0dcda010222a4f178669d1aedc.tar.bz2
qdict: Make qdict_get_qlist() safe like qdict_get_qdict()
Commit 89cad9f changed qdict_get_qdict() to return NULL instead of crash when the key doesn't exist or its value isn't a QDict. Commit 2d6421a neglected to do the same for qdict_get_qlist(). Correct that, and update the function comments. qdict_get_obj() is now unused, remove. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1487363905-9480-2-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions