Do proper delete

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-28 18:33:12 +00:00
parent ed0d1c7fcf
commit d3c5a8b1aa

View File

@@ -1858,7 +1858,7 @@ error2:
if (!isFast)
Py_DECREF(o);
error1:
delete temp;
delete [] temp;
error0:
PyErr_SetString(PyExc_TypeError, "Expected a sequence of length-2 sequences or wxPoints.");
return NULL;