fixed memory leak (m_selection wasn't deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -201,7 +201,9 @@ wxHtmlWindow::~wxHtmlWindow()
|
|||||||
#endif // wxUSE_CLIPBOARD
|
#endif // wxUSE_CLIPBOARD
|
||||||
HistoryClear();
|
HistoryClear();
|
||||||
|
|
||||||
if (m_Cell) delete m_Cell;
|
delete m_selection;
|
||||||
|
|
||||||
|
delete m_Cell;
|
||||||
|
|
||||||
if ( m_Processors )
|
if ( m_Processors )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user