diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2012-01-03 13:15:18 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-03 13:46:26 +0100 |
commit | c00534e9fda6177d2a6a0663a4536743ff9b665c (patch) | |
tree | d24b029ac97690f3910013c745536691517ae099 /src/plugins | |
parent | 24c925e9942d83ef7cbf2fe78e4a560f76fa0f1c (diff) |
Do not leak interfaces during hit testing (QDA::childAt())
Change-Id: Iebbc1cbbdce57bff6423fa417eac8dbdfe35e510
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/accessible/shared/qdeclarativeaccessible.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/accessible/shared/qdeclarativeaccessible.cpp b/src/plugins/accessible/shared/qdeclarativeaccessible.cpp index abe73f24ea..4f79a7cb2a 100644 --- a/src/plugins/accessible/shared/qdeclarativeaccessible.cpp +++ b/src/plugins/accessible/shared/qdeclarativeaccessible.cpp @@ -86,6 +86,7 @@ QAccessibleInterface *QDeclarativeAccessible::childAt(int x, int y) const if (childIface->rect().contains(x, y)) return childIface; } + delete childIface; } return 0; } |