corrected delete operator for array
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
25c71cccb5
commit
6db1f43b6c
@ -146,7 +146,7 @@ wxDCBase::DoDrawPolyPolygon(int n,
|
||||
DoDrawLines(count[i], pts+j, xoffset, yoffset);
|
||||
j += count[i];
|
||||
}
|
||||
delete pts;
|
||||
delete[] pts;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user