plug memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-23 00:53:30 +00:00
parent cd5cb880d0
commit ba3834927e

View File

@ -204,6 +204,7 @@ bool wxPyDrawXXXPolygon(wxDC& dc, PyObject* coords)
return False;
}
dc.DrawPolygon(numPoints, points);
delete [] points;
return True;
}