summaryrefslogtreecommitdiff
path: root/src/icon.cpp
diff options
context:
space:
mode:
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*