From 29c644ec4902ec78201e0a1369d2b2d6fa7ab4e2 Mon Sep 17 00:00:00 2001 From: mayeut Date: Mon, 7 Sep 2015 19:24:20 +0200 Subject: [PATCH] Correct mismatching delete Fixes #575 --- src/bin/wx/OPJViewer/source/OPJThreads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/wx/OPJViewer/source/OPJThreads.cpp b/src/bin/wx/OPJViewer/source/OPJThreads.cpp index e3533a72..c9859860 100644 --- a/src/bin/wx/OPJViewer/source/OPJThreads.cpp +++ b/src/bin/wx/OPJViewer/source/OPJThreads.cpp @@ -889,7 +889,7 @@ void OPJMarkerTree::OnSelChanged(wxTreeEvent& event) m_peektextCtrl->WriteText(text); - delete buffer; + delete [] buffer; } /*void LogKeyEvent(const wxChar *name, const wxKeyEvent& event)