Skip to content

Commit

Permalink
Do not leak interfaces during hit testing (QDA::childAt())
Browse files Browse the repository at this point in the history
Change-Id: Iebbc1cbbdce57bff6423fa417eac8dbdfe35e510
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
  • Loading branch information
Jan-Arve Saether authored and Qt by Nokia committed Jan 3, 2012
1 parent 24c925e commit c00534e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/accessible/shared/qdeclarativeaccessible.cpp
Expand Up @@ -86,6 +86,7 @@ QAccessibleInterface *QDeclarativeAccessible::childAt(int x, int y) const
if (childIface->rect().contains(x, y))
return childIface;
}
delete childIface;
}
return 0;
}
Expand Down

0 comments on commit c00534e

Please sign in to comment.