From: Rudolf Polzer Date: Thu, 11 Feb 2010 12:03:21 +0000 (+0100) Subject: fix mismatched new/delete X-Git-Tag: xonotic-v0.5.0~288 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2da03eb7b022a0616b97bc629743a1f45bcc052f;p=xonotic%2Fnetradiant.git fix mismatched new/delete --- 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()