[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36422] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/view_map/Silhouette.h: Fix for a memory leak in silhouette edge detection.
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Mon May 2 05:11:42 CEST 2011
Revision: 36422
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36422
Author: kjym3
Date: 2011-05-02 03:11:39 +0000 (Mon, 02 May 2011)
Log Message:
-----------
Fix for a memory leak in silhouette edge detection.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h 2011-05-02 00:58:33 UTC (rev 36421)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h 2011-05-02 03:11:39 UTC (rev 36422)
@@ -252,6 +252,8 @@
}
void setCurvatureInfo(CurvatureInfo* ci) {
+ if (_curvature_info) // Q. is this an error condition? (T.K. 02-May-2011)
+ delete _curvature_info;
_curvature_info = ci;
}
More information about the Bf-blender-cvs
mailing list