[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15100] branches/harmonic-skeleton/source/ blender/blenlib/intern/graph.c: Fix mem leak in graph rem doubles

Martin Poirier theeth at yahoo.com
Tue Jun 3 18:43:08 CEST 2008


Revision: 15100
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15100
Author:   theeth
Date:     2008-06-03 18:43:07 +0200 (Tue, 03 Jun 2008)

Log Message:
-----------
Fix mem leak in graph rem doubles

Modified Paths:
--------------
    branches/harmonic-skeleton/source/blender/blenlib/intern/graph.c

Modified: branches/harmonic-skeleton/source/blender/blenlib/intern/graph.c
===================================================================
--- branches/harmonic-skeleton/source/blender/blenlib/intern/graph.c	2008-06-03 11:41:16 UTC (rev 15099)
+++ branches/harmonic-skeleton/source/blender/blenlib/intern/graph.c	2008-06-03 16:43:07 UTC (rev 15100)
@@ -167,7 +167,7 @@
 				BLI_replaceNode(graph, node_src, node_replaced);
 				
 				BLI_freeNode(graph, node_replaced);
-				BLI_remlink(&graph->nodes, node_replaced);
+				BLI_freelinkN(&graph->nodes, node_replaced);
 			}
 		}
 	}





More information about the Bf-blender-cvs mailing list