diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-09-27 13:13:55 +0800 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-10-15 05:02:55 +0200 |
commit | 3a53009fa044a554dbdeacf30a6b8ea3eb02fe63 (patch) | |
tree | 4e76b4e57a34a2544c9172f348428ab22436c13b /module-common.c | |
parent | 688b057aece53003f9d5a1dadc8961482dc2d948 (diff) |
qom: Add error handler for object_property_print()
Avoid the caller of object_property_print() leaking string
argument's memory, such as qdev_print_props() when
encounter errors.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions