fix mismatched new/delete
authorRudolf Polzer <rpolzer@nb-04.(none)>
Thu, 11 Feb 2010 12:03:21 +0000 (13:03 +0100)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Thu, 11 Feb 2010 12:03:21 +0000 (13:03 +0100)
libs/imagelib.h

index b5f95b7..5a1afa6 100644 (file)
@@ -46,7 +46,7 @@ public:
   }
   ~RGBAImage()
   {
-    delete pixels;
+    delete[] pixels;
   }
 
   void release()