aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-03-08 09:23:28 +0000
committernyamatongwe <devnull@localhost>2009-03-08 09:23:28 +0000
commit9bccfee022457bcd466108ca41a810e5b2f9df55 (patch)
tree93f16d3dd8ebdedba1273f2bb56ae2be0f6b3f1e
parentd3041d2be976daa62c6087bba24efb4a742daf1d (diff)
downloadscintilla-mirror-9bccfee022457bcd466108ca41a810e5b2f9df55.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() {