aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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() {