summaryrefslogtreecommitdiff
path: root/lib/Image.cc
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-22 01:57:01 +0000
committerpixel <pixel>2003-12-22 01:57:01 +0000
commite27fa8bfa5181a6f102a9e9d11327e7bc61457bc (patch)
treeb5ba8b5a259423768b30818d9f4df4bdcbacbb80 /lib/Image.cc
parent7b19da63b30ccac0eb2dff3d46de5a94f83909e3 (diff)
Introduced free as a template... (why didn'y think about it earlier?)
Diffstat (limited to 'lib/Image.cc')
-rw-r--r--lib/Image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Image.cc b/lib/Image.cc
index 6b698ae..d098de3 100644
--- a/lib/Image.cc
+++ b/lib/Image.cc
@@ -9,7 +9,7 @@ Image::Image(unsigned int ax, unsigned int ay) : x(ax), y(ay), img((Color *) mal
}
Image::~Image() {
- free((char *&) img);
+ free(img);
}
bool Image::CanWrite() const {