]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed delete
authorJulian Smart <julian@anthemion.co.uk>
Wed, 9 Feb 2005 16:57:22 +0000 (16:57 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 9 Feb 2005 16:57:22 +0000 (16:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/oglmisc.cpp

index 74efcd160922e00c7d22d3e21524541091a17aca..3f63c093177784a4362d74b22cce3b9fc0cff25a 100644 (file)
@@ -282,7 +282,7 @@ void oglCentreText(wxDC& dc, wxList *text_list,
     i ++;
   }
 
-  delete widths;
+  delete[] widths;
 }
 
 // Centre a list of strings in the given box