diff options
author | pixel <pixel> | 2003-12-22 01:57:01 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-12-22 01:57:01 +0000 |
commit | e27fa8bfa5181a6f102a9e9d11327e7bc61457bc (patch) | |
tree | b5ba8b5a259423768b30818d9f4df4bdcbacbb80 /lib/Image.cc | |
parent | 7b19da63b30ccac0eb2dff3d46de5a94f83909e3 (diff) |
Introduced free as a template... (why didn'y think about it earlier?)
Diffstat (limited to 'lib/Image.cc')
-rw-r--r-- | lib/Image.cc | 2 |
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 { |