Destructor for wxFileType was deleting its member m_impl without checking if it was already NULL or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -207,7 +207,8 @@ wxFileType::wxFileType()
|
|||||||
|
|
||||||
wxFileType::~wxFileType()
|
wxFileType::~wxFileType()
|
||||||
{
|
{
|
||||||
delete m_impl;
|
if ( m_impl )
|
||||||
|
delete m_impl;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxFileType::GetExtensions(wxArrayString& extensions)
|
bool wxFileType::GetExtensions(wxArrayString& extensions)
|
||||||
|
Reference in New Issue
Block a user