Revision: 27659
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27659
Author:   blendix
Date:     2010-03-22 14:24:41 +0100 (Mon, 22 Mar 2010)

Log Message:
-----------
Sculpt: fix memory leak with anchored stroke option.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/sculpt.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c  2010-03-22 
12:09:39 UTC (rev 27658)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c  2010-03-22 
13:24:41 UTC (rev 27659)
@@ -1988,6 +1988,9 @@
                        for(i = 0; i < ss->totface; ++i, fn += 3)
                                copy_v3_v3(fn, cache->face_norms[i]);
                }
+
+               if(nodes)
+                       MEM_freeN(nodes);
        }
 }
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to