diff options
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 { |