summaryrefslogtreecommitdiff
path: root/tests/test-keyval.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-06-07 20:35:54 +0400
committerMarkus Armbruster <armbru@redhat.com>2017-06-19 14:56:29 +0200
commit560f19f162529d691619ac69ed032321c7f5f1fb (patch)
tree5252e26b143e8992e39107a31202a08282c572d1 /tests/test-keyval.c
parenta2740ad584839ac84f3cdb2d928de93a0d7f4e72 (diff)
downloadqemu-560f19f162529d691619ac69ed032321c7f5f1fb.tar.gz
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/test-keyval.c')
0 files changed, 0 insertions, 0 deletions