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

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


The following commit has been merged in the upstream branch:
commit 807f4ef450a0c556254d14f3da08e4e5b85b8fc4
Author: tpaviot <tpaviot at gmail.com>
Date:   Thu Jan 12 21:54:53 2012 +0100

    [cppcheck-error-fix][memory-leak]
    
    [OpenGl/OpenGl_text.cxx:156]: (error) Memory leak: data

diff --git a/src/OpenGl/OpenGl_text.cxx b/src/OpenGl/OpenGl_text.cxx
index 6296392..cc7c83a 100644
--- a/src/OpenGl/OpenGl_text.cxx
+++ b/src/OpenGl/OpenGl_text.cxx
@@ -153,6 +153,7 @@ TextAdd( TSM_ELEM_DATA d, Tint n, cmn_key *k )
 
   wchar_t *wstr = new wchar_t[i];
   if( !wstr )
+    delete data;
     return TFailure;
 
   data->attach_pt = *pt;

-- 
OCE packaging



More information about the debian-science-commits mailing list