diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2009-11-03 14:34:35 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2009-11-03 14:35:56 (GMT) |
commit | 8325c15b21cd49287160c8dfb31ebf56ba3090ab (patch) | |
tree | c3e621e8d007fe50ca8fa4d77d4263fab9ea542e | |
parent | a0f83f7e06dfc4b171a877a4e30a53c08a4c6593 (diff) | |
download | Qt-8325c15b21cd49287160c8dfb31ebf56ba3090ab.zip Qt-8325c15b21cd49287160c8dfb31ebf56ba3090ab.tar.gz Qt-8325c15b21cd49287160c8dfb31ebf56ba3090ab.tar.bz2 |
Fix memory leak in the Mac accessibility module.
Remove duplicate AXUIElement initialization in QAElment.
(The duplicate code was erroneously merged in with
the cocoa port.)
RevBy: Richard Moe Gustavsen
-rw-r--r-- | src/gui/accessible/qaccessible_mac.mm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/accessible/qaccessible_mac.mm b/src/gui/accessible/qaccessible_mac.mm index 46ef1e5..a875a5c 100644 --- a/src/gui/accessible/qaccessible_mac.mm +++ b/src/gui/accessible/qaccessible_mac.mm @@ -504,11 +504,6 @@ QAElement::QAElement(const QAElement &element) } QAElement::QAElement(HIObjectRef object, int child) - :elementRef( -#ifndef QT_MAC_USE_COCOA - AXUIElementCreateWithHIObjectAndIdentifier(object, child) -#endif -) { #ifndef QT_MAC_USE_COCOA if (object == 0) { |