From 52860855bf7aace73a93eb71f7b787bbe9d0cd02 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 5 Nov 2000 13:26:16 +0000 Subject: [PATCH] fix from the main branch which replaces delete with the (proper) delete [] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/db/dbtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/db/dbtest.cpp b/samples/db/dbtest.cpp index 9643f3dff5..a229350328 100644 --- a/samples/db/dbtest.cpp +++ b/samples/db/dbtest.cpp @@ -1646,7 +1646,7 @@ void CparameterDlg::FillDataSourceList() for (i = 0; wxStrlen(p[i]); i++) pParamODBCSourceList->Append(p[i]); - delete p; + delete [] p; } // CparameterDlg::CparameterDlg::FillDataSourceList() -- 2.47.2