qemu-patch-raspberry4/qobject
Markus Armbruster b25f23e7db 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>
2017-02-22 19:51:37 +01:00
..
json-lexer.c qobject: Correct JSON lexer grammar comments 2016-06-30 15:24:36 +02:00
json-parser.c qapi: Improve use of qmp/types.h 2016-07-06 10:52:03 +02:00
json-streamer.c json-streamer: fix double-free on exiting during a parse 2016-07-12 18:31:27 +02:00
Makefile.objs qobject: Simplify QObject 2015-12-17 08:21:28 +01:00
qbool.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qdict.c qdict: Make qdict_get_qlist() safe like qdict_get_qdict() 2017-02-22 19:51:37 +01:00
qfloat.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qint.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qjson.c qapi: Improve use of qmp/types.h 2016-07-06 10:52:03 +02:00
qlist.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
qnull.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qobject.c qapi: Improve use of qmp/types.h 2016-07-06 10:52:03 +02:00
qstring.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00