libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd/cvd convolution.h


From: Colin Starr
Subject: [libcvd-members] libcvd/cvd convolution.h
Date: Mon, 19 Mar 2007 15:55:10 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Colin Starr <ccs36>     07/03/19 15:55:10

Modified files:
        cvd            : convolution.h 

Log message:
        And the necessary delete[]s for the previous change.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/convolution.h?cvsroot=libcvd&r1=1.7&r2=1.8

Patches:
Index: convolution.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/convolution.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- convolution.h       19 Mar 2007 15:39:24 -0000      1.7
+++ convolution.h       19 Mar 2007 15:55:10 -0000      1.8
@@ -521,6 +521,8 @@
   Internal::aligned_mem<sum_type,16>::release(buffer);
   Internal::aligned_mem<sum_type,16>::release(rowbuf);
   Internal::aligned_mem<sum_type,16>::release(outbuf);
+  delete[] kernel;
+  delete[] rows;
 }
 
 template <class T, class O, class K> void convolve_gaussian_3(const 
BasicImage<T>& I, BasicImage<O>& out, K k1, K k2)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]