diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-06-03 20:43:07 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-06-03 20:43:07 +0400 |
commit | d6d43823962d91f2d77470f2be3d1f5e50aee3c6 (patch) | |
tree | f54c49a0785738bb82669fcabdfad8d721a7c784 /source/blender/blenlib/intern/graph.c | |
parent | 6d0ac5095fb984d389938f309ec76b72674067d8 (diff) |
Fix mem leak in graph rem doubles
Diffstat (limited to 'source/blender/blenlib/intern/graph.c')
-rw-r--r-- | source/blender/blenlib/intern/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/graph.c b/source/blender/blenlib/intern/graph.c index 93093e4b279..2c577983112 100644 --- a/source/blender/blenlib/intern/graph.c +++ b/source/blender/blenlib/intern/graph.c @@ -167,7 +167,7 @@ void BLI_removeDoubleNodes(BGraph *graph, float limit) BLI_replaceNode(graph, node_src, node_replaced); BLI_freeNode(graph, node_replaced); - BLI_remlink(&graph->nodes, node_replaced); + BLI_freelinkN(&graph->nodes, node_replaced); } } } |