From 64b23870a773f409a90e2b40abdacd987b29438c Mon Sep 17 00:00:00 2001 From: Erkin Bahceci Date: Fri, 21 Aug 2009 21:55:16 -0500 Subject: Delete array with delete []. --- src/icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/icon.cpp') diff --git a/src/icon.cpp b/src/icon.cpp index 0a8146b..3118db0 100644 --- a/src/icon.cpp +++ b/src/icon.cpp @@ -36,7 +36,7 @@ CompIcon::CompIcon (CompScreen *screen, unsigned int width, CompIcon::~CompIcon () { - delete mData; + delete [] mData; } unsigned char* -- cgit v1.1