analyzer warning: setAttributedTitle has copy semantics, therefore we have to release what we allocated
This commit is contained in:
@@ -2476,6 +2476,8 @@ void wxWidgetCocoaImpl::SetLabel( const wxString& title, wxFontEncoding encoding
|
|||||||
[attrString endEditing];
|
[attrString endEditing];
|
||||||
|
|
||||||
[(id)m_osxView setAttributedTitle:attrString];
|
[(id)m_osxView setAttributedTitle:attrString];
|
||||||
|
|
||||||
|
[attrString release];
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user