summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-09-07 19:24:20 +0200
committermayeut <mayeut@users.noreply.github.com>2015-09-07 19:24:20 +0200
commit29c644ec4902ec78201e0a1369d2b2d6fa7ab4e2 (patch)
tree929a9dd244aa130a2078c65eab17d46a89353fa8 /src
parent940100c28ae28931722290794889cf84a92c5f6f (diff)
Correct mismatching delete
Fixes #575
Diffstat (limited to 'src')
-rw-r--r--src/bin/wx/OPJViewer/source/OPJThreads.cpp2
1 files changed, 1 insertions, 1 deletions
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)