commit | 560f19f162529d691619ac69ed032321c7f5f1fb | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Wed Jun 07 20:35:54 2017 +0400 |
committer | Markus Armbruster <armbru@redhat.com> | Mon Jun 19 14:56:29 2017 +0200 |
tree | 5252e26b143e8992e39107a31202a08282c572d1 | |
parent | a2740ad584839ac84f3cdb2d928de93a0d7f4e72 [diff] |
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>