From 6825f30b665952864dbe35fe8329a0e4c264d4b8 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 10 Jan 2007 17:31:08 +0000 Subject: All of the files included have instances where an array is new'ed but the corresponding delete does not have the corresponding [] argument. --- (limited to 'noncore/apps/opie-console/TEScreen.cpp') diff --git a/noncore/apps/opie-console/TEScreen.cpp b/noncore/apps/opie-console/TEScreen.cpp index 2675d31..8e91532 100644 --- a/noncore/apps/opie-console/TEScreen.cpp +++ b/noncore/apps/opie-console/TEScreen.cpp @@ -1115,8 +1115,8 @@ QString TEScreen::getSelText(const BOOL preserve_line_breaks) QString res(qc, d); - delete m; - delete qc; + delete [] m; + delete [] qc; return res; } -- cgit v0.9.0.2