X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..86ad5903b94d00e7c7625a705f6cd22301607ccd:/src/osx/cocoa/menuitem.mm diff --git a/src/osx/cocoa/menuitem.mm b/src/osx/cocoa/menuitem.mm index 680d3c0cc7..cb525c3fac 100644 --- a/src/osx/cocoa/menuitem.mm +++ b/src/osx/cocoa/menuitem.mm @@ -223,6 +223,7 @@ wxMenuItemCocoaImpl::~wxMenuItemCocoaImpl() { if ( ![m_osxMenuItem isSeparatorItem] ) [(wxNSMenuItem*)m_osxMenuItem setImplementation:nil]; + [m_osxMenuItem release]; }