From 8410a7104a8506c111f417d204a0d7dbb2a45fc0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 9 Feb 2005 16:57:22 +0000 Subject: [PATCH] Fixed delete git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/ogl/oglmisc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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