From 2da03eb7b022a0616b97bc629743a1f45bcc052f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 11 Feb 2010 13:03:21 +0100 Subject: [PATCH] fix mismatched new/delete --- libs/imagelib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/imagelib.h b/libs/imagelib.h index b5f95b7d..5a1afa67 100644 --- a/libs/imagelib.h +++ b/libs/imagelib.h @@ -46,7 +46,7 @@ public: } ~RGBAImage() { - delete pixels; + delete[] pixels; } void release() -- 2.39.2