From f48ab29b5ca119b021a8805cca6b4df3dd6f2356 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Tue, 18 Jan 2005 03:32:52 +0000 Subject: [PATCH] Sending copy to an instance infers ownership by the sender so we must send release to the returned instance when we're done. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/dc.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cocoa/dc.mm b/src/cocoa/dc.mm index 7ef93f80ee..b74aa7bbf7 100644 --- a/src/cocoa/dc.mm +++ b/src/cocoa/dc.mm @@ -194,6 +194,7 @@ void wxDC::CocoaUnapplyTransformations() invertTransform = [m_cocoaWxToBoundsTransform copy]; [invertTransform invert]; [invertTransform concat]; + [invertTransform release]; } bool wxDC::CocoaGetBounds(void *rectData) -- 2.45.2