From: Julian Smart Date: Wed, 9 Feb 2005 16:57:22 +0000 (+0000) Subject: Fixed delete X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8410a7104a8506c111f417d204a0d7dbb2a45fc0 Fixed delete git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/ogl/oglmisc.cpp b/contrib/src/ogl/oglmisc.cpp index 74efcd1609..3f63c09317 100644 --- a/contrib/src/ogl/oglmisc.cpp +++ b/contrib/src/ogl/oglmisc.cpp @@ -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