aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-03-08 09:23:28 +0000
committernyamatongwe <unknown>2009-03-08 09:23:28 +0000
commit5f4ef4376d75c309cc73499d8fca3ff6623660cb (patch)
tree93f16d3dd8ebdedba1273f2bb56ae2be0f6b3f1e
parent4326f25df6ae58b6bc759cb935820a1c14cb7f04 (diff)
downloadscintilla-mirror-5f4ef4376d75c309cc73499d8fca3ff6623660cb.tar.gz
Bug #2671749 Mismatching alloc and dealloc fixed.
-rw-r--r--macosx/PlatMacOSX.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PlatMacOSX.cxx b/macosx/PlatMacOSX.cxx
index eba9c3177..7613e4f90 100644
--- a/macosx/PlatMacOSX.cxx
+++ b/macosx/PlatMacOSX.cxx
@@ -1628,7 +1628,7 @@ void ListBoxImpl::GetValue(int n, char *value, int len) {
} else {
value[0] = '\0';
}
- delete text;
+ delete []text;
}
void ListBoxImpl::Sort() {