diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-06-07 20:35:54 +0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-06-19 14:56:29 +0200 |
commit | 560f19f162529d691619ac69ed032321c7f5f1fb (patch) | |
tree | 5252e26b143e8992e39107a31202a08282c572d1 /LICENSE | |
parent | a2740ad584839ac84f3cdb2d928de93a0d7f4e72 (diff) | |
download | qemu-560f19f162529d691619ac69ed032321c7f5f1fb.zip qemu-560f19f162529d691619ac69ed032321c7f5f1fb.tar.gz qemu-560f19f162529d691619ac69ed032321c7f5f1fb.tar.bz2 |
object: fix potential leak in getters
If the property is not of the requested type, the getters will leak a
QObject.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170607163635.17635-3-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions