From 9bccfee022457bcd466108ca41a810e5b2f9df55 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 8 Mar 2009 09:23:28 +0000 Subject: Bug #2671749 Mismatching alloc and dealloc fixed. --- macosx/PlatMacOSX.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/PlatMacOSX.cxx') 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() { -- cgit v1.2.3