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:
Stefan Csomor 2004-03-18 13:57:03 +00:00
parent 25c71cccb5
commit 6db1f43b6c

View File

@ -146,7 +146,7 @@ wxDCBase::DoDrawPolyPolygon(int n,
DoDrawLines(count[i], pts+j, xoffset, yoffset);
j += count[i];
}
delete pts;
delete[] pts;
}
// ----------------------------------------------------------------------------