qemu-e2k/qom
Paolo Bonzini 7f5d9b206d object-add: don't create return value if failed
No need to return an empty value from object-add (it would also leak
if the command failed).  While at it, remove the "if" around object_unref
since object_unref handles NULL arguments just fine.

Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200325184723.2029630-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-04-02 14:56:10 -04:00
..
container.c container: don't leak container reference 2017-05-04 15:34:41 +04:00
Makefile.objs qemu-storage-daemon: Add --object option 2020-03-06 17:21:28 +01:00
object_interfaces.c qom: introduce object_property_help() 2020-01-24 20:59:16 +01:00
object.c qom/object: enable setter for uint types 2020-03-16 23:02:23 +01:00
qom-hmp-cmds.c hmp: drop Error pointer indirection in hmp_handle_error 2019-12-18 08:36:16 +01:00
qom-qmp-cmds.c object-add: don't create return value if failed 2020-04-02 14:56:10 -04:00
qom-qobject.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00