]> git.saurik.com Git - wxWidgets.git/commitdiff
plug memory leak
authorRobin Dunn <robin@alldunn.com>
Thu, 23 Sep 2004 00:53:30 +0000 (00:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 23 Sep 2004 00:53:30 +0000 (00:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/drawlist.cpp

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