diff options
author | Marc-André Lureau | 2017-06-07 18:35:54 +0200 |
---|---|---|
committer | Markus Armbruster | 2017-06-19 14:56:29 +0200 |
commit | 560f19f162529d691619ac69ed032321c7f5f1fb (patch) | |
tree | 5252e26b143e8992e39107a31202a08282c572d1 /tests/qapi-schema/qapi-schema-test.json | |
parent | qdev: remove PropertyInfo.qtype field (diff) | |
download | qemu-560f19f162529d691619ac69ed032321c7f5f1fb.tar.gz qemu-560f19f162529d691619ac69ed032321c7f5f1fb.tar.xz qemu-560f19f162529d691619ac69ed032321c7f5f1fb.zip |
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 'tests/qapi-schema/qapi-schema-test.json')
0 files changed, 0 insertions, 0 deletions