Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv28541

Modified Files:
        ufraw_lensfun.cc 
Log Message:
Fix code to destroy lensdb.

Index: ufraw_lensfun.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_lensfun.cc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ufraw_lensfun.cc    26 Mar 2010 03:56:40 -0000      1.11
+++ ufraw_lensfun.cc    27 Mar 2010 13:15:07 -0000      1.12
@@ -41,9 +41,9 @@
     Lensfun();
 #if 0 // Can be useful for valgrind --leak-check=full
     ~Lensfun() {
-       if (LensDB != NULL)
-           lf_db_destroy(LensDB);
-       LensDB = NULL;
+       if (_LensDB != NULL)
+           lf_db_destroy(_LensDB);
+       _LensDB = NULL;
     }
 #endif
     static Lensfun &Parent(UFObject &object) {


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to