From e27fa8bfa5181a6f102a9e9d11327e7bc61457bc Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 22 Dec 2003 01:57:01 +0000 Subject: Introduced free as a template... (why didn'y think about it earlier?) --- lib/Image.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Image.cc') 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 { -- cgit v1.2.3