From ba3834927e1a9e942c705184bc07f52de4a42f95 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 23 Sep 2004 00:53:30 +0000 Subject: [PATCH] plug memory leak git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/drawlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/src/drawlist.cpp b/wxPython/src/drawlist.cpp index 724359e98a..c1274809ea 100644 --- a/wxPython/src/drawlist.cpp +++ b/wxPython/src/drawlist.cpp @@ -204,6 +204,7 @@ bool wxPyDrawXXXPolygon(wxDC& dc, PyObject* coords) return False; } dc.DrawPolygon(numPoints, points); + delete [] points; return True; } -- 2.47.2