From 685a681b7e7316d55be3471037e06d71e9d31040 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Sun, 19 Jun 2016 17:32:48 -0700 Subject: [PATCH] Fix wrong delete --- examples/cpp-multithread/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp-multithread/main.cpp b/examples/cpp-multithread/main.cpp index f97bc6f2..1464df2d 100644 --- a/examples/cpp-multithread/main.cpp +++ b/examples/cpp-multithread/main.cpp @@ -20,7 +20,7 @@ void sayTime(void *data) char *s = (char *) data; uiMultilineEntryAppend(e, s); - delete s; + delete[] s; } void threadproc(void)