On 10/15/2015 08:15 AM, Markus Armbruster wrote: > qobject_to_qdict() crashes on null, which is a trap for the unwary. > Return null instead, and simplify a few callers. > > Signed-off-by: Markus Armbruster > --- > qga/main.c | 11 +++-------- > qobject/qdict.c | 6 +++--- > 2 files changed, 6 insertions(+), 11 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org