]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
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 b5f95b7d74e1921b921afc513cfd5a2f7b766923..5a1afa67c38ad6e605dc8e1086021e31a0d7d50f 100644 (file)
@@ -46,7 +46,7 @@ public:
   }
   ~RGBAImage()
   {
-    delete pixels;
+    delete[] pixels;
   }
 
   void release()