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

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


The following commit has been merged in the upstream branch:
commit 28c2848d131728f833c989785f9a9cf70c7d32cb
Author: tpaviot <tpaviot at gmail.com>
Date:   Thu Jan 12 21:51:42 2012 +0100

    [cppcheck-error-fix][mismatch-allocation-deallocation]
    
    [OpenGl/OpenGl_subrs.cxx:149]: (error) Mismatching allocation and deallocation: col

diff --git a/src/OpenGl/OpenGl_subrs.cxx b/src/OpenGl/OpenGl_subrs.cxx
index ff724c8..909f789 100644
--- a/src/OpenGl/OpenGl_subrs.cxx
+++ b/src/OpenGl/OpenGl_subrs.cxx
@@ -146,7 +146,7 @@ call_subr_polyline_data( CALL_DEF_LISTPOINTS * alpoints )
 
 #ifdef IMP190602
   delete[] points;
-  delete col;
+  delete [] col;
 #endif
 
   return;

-- 
OCE packaging



More information about the debian-science-commits mailing list