Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-06-03 20:43:07 +0400
committerMartin Poirier <theeth@yahoo.com>2008-06-03 20:43:07 +0400
commitd6d43823962d91f2d77470f2be3d1f5e50aee3c6 (patch)
treef54c49a0785738bb82669fcabdfad8d721a7c784 /source/blender/blenlib/intern/graph.c
parent6d0ac5095fb984d389938f309ec76b72674067d8 (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.c2
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);
}
}
}