X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e21fc053d9017f79ad71675db8d2e1497049159..537a0880d225ab023024f6f5fc8955666b7641b8:/src/cocoa/dc.mm diff --git a/src/cocoa/dc.mm b/src/cocoa/dc.mm index 7ef93f80ee..94578291b6 100644 --- a/src/cocoa/dc.mm +++ b/src/cocoa/dc.mm @@ -146,6 +146,7 @@ wxDC::wxDC(void) wxDC::~wxDC(void) { + [m_cocoaWxToBoundsTransform release]; } bool wxDC::CocoaLockFocus() @@ -194,6 +195,7 @@ void wxDC::CocoaUnapplyTransformations() invertTransform = [m_cocoaWxToBoundsTransform copy]; [invertTransform invert]; [invertTransform concat]; + [invertTransform release]; } bool wxDC::CocoaGetBounds(void *rectData)