summaryrefslogtreecommitdiff
path: root/src/icon.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:16 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:16 -0500
commit64b23870a773f409a90e2b40abdacd987b29438c (patch)
treee3677f77ec4bee86009eae350b9065483b2643f4 /src/icon.cpp
parentacb6067ee71bca5dae79ee0d05eb1e5437bc1e3a (diff)
downloadunity-window-decorator-64b23870a773f409a90e2b40abdacd987b29438c.tar.gz
unity-window-decorator-64b23870a773f409a90e2b40abdacd987b29438c.tar.bz2
Delete array with delete [].
Diffstat (limited to 'src/icon.cpp')
-rw-r--r--src/icon.cpp2
1 files changed, 1 insertions, 1 deletions
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*