[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23

tpaviot tpaviot at gmail.com
Fri Feb 24 18:50:38 UTC 2012


The following commit has been merged in the upstream branch:
commit 33b1802a85117f0c1246881c1ef892881ebfbc6f
Author: tpaviot <tpaviot at gmail.com>
Date:   Fri Jan 13 05:41:17 2012 +0100

    [cppcheck-error-fix][memory-leak]
    
    [OpenGl/OpenGl_filters.cxx:352]: (error) Memory leak: temp

diff --git a/src/OpenGl/OpenGl_filters.cxx b/src/OpenGl/OpenGl_filters.cxx
index 1556111..dcd01e9 100644
--- a/src/OpenGl/OpenGl_filters.cxx
+++ b/src/OpenGl/OpenGl_filters.cxx
@@ -349,6 +349,7 @@ TglNamesetRemove( Tint num, Tint *set )
   temp = new Tint[size];
   if( !temp )
     delete [] ptr;
+    delete [] temp;
     return TFailure;
   memcpy( temp, set, num*sizeof(Tint) );
 

-- 
OCE packaging



More information about the debian-science-commits mailing list