[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 ddbe9ff692ad6dfe7d55c5f58977eac9ad2a588c
Author: tpaviot <tpaviot at gmail.com>
Date: Thu Jan 12 21:49:41 2012 +0100
[cppcheck-error-fix][memory-leak]
[OpenGl/OpenGl_indexpolygons.cxx:271]: (error) Memory leak: data
diff --git a/src/OpenGl/OpenGl_indexpolygons.cxx b/src/OpenGl/OpenGl_indexpolygons.cxx
index fbb9af7..7c65403 100644
--- a/src/OpenGl/OpenGl_indexpolygons.cxx
+++ b/src/OpenGl/OpenGl_indexpolygons.cxx
@@ -268,6 +268,7 @@ PolygonIndicesAdd( TSM_ELEM_DATA d, Tint n, cmn_key *k )
{
//cmn_freemem( data->vertices );
delete[] data->vertices;
+ delete data;
return TFailure;
}
//cmn_memreserve( data->bounds, data->num_bounds, 0 );
--
OCE packaging
More information about the debian-science-commits
mailing list