Cocoa: Fix memory leak in the accessibility code.
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Mon, 21 May 2012 06:22:01 +0000 (08:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 11:00:29 +0000 (13:00 +0200)
commitf5641c503b241f3984f645d2859733a6390debf5
tree83781a9cf93361745160e3b2ec8dcc29ca1fad92
parent2c790b251d9e3a30abe8ac63ab50f81c9c7631ce
Cocoa: Fix memory leak in the accessibility code.

QCocoaAccessibleElement takes ownership of the
QAccessibleinterface pointer. Delete it in dealloc().

Change-Id: I45a5540b9cf564c639bfa119ff4882008d63fd96
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm