Corrected wrong use of delete in region code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -483,12 +483,12 @@ public:
|
||||
|
||||
wxRIRefData::~wxRIRefData()
|
||||
{
|
||||
delete m_rects;
|
||||
delete [] m_rects;
|
||||
}
|
||||
|
||||
void wxRIRefData::CreateRects( const wxRegion& region )
|
||||
{
|
||||
delete m_rects;
|
||||
delete [] m_rects;
|
||||
|
||||
Init();
|
||||
|
||||
|
Reference in New Issue
Block a user