analyzer warning: setAttributedTitle has copy semantics, therefore we have to release what we allocated

This commit is contained in:
Stefan Csomor
2017-06-07 14:05:30 +02:00
parent 0a178ca374
commit 2f4b249fcf

View File

@@ -2477,6 +2477,8 @@ void wxWidgetCocoaImpl::SetLabel( const wxString& title, wxFontEncoding encoding
[(id)m_osxView setAttributedTitle:attrString]; [(id)m_osxView setAttributedTitle:attrString];
[attrString release];
return; return;
} }
} }