Author: post
Date: 2010-01-26 20:37:14 +0100 (Tue, 26 Jan 2010)
New Revision: 189

Modified:
   RawSpeed/LJpegPlain.cpp
Log:
Match allocator and deallocator

Modified: RawSpeed/LJpegPlain.cpp
===================================================================
--- RawSpeed/LJpegPlain.cpp     2010-01-18 17:34:50 UTC (rev 188)
+++ RawSpeed/LJpegPlain.cpp     2010-01-26 19:37:14 UTC (rev 189)
@@ -32,10 +32,10 @@
 
 LJpegPlain::~LJpegPlain(void) {
   if (offset)
-    delete(offset);
+    delete[](offset);
   offset = 0;
   if (slice_width)
-    delete(slice_width);
+    delete[](slice_width);
   slice_width = 0;
 }
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to