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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-10-02 18:59:11 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-10-02 19:00:42 +0300
commit9c02f6b1ed6fea5352ee161b146abff033a085e4 (patch)
tree4e482aef47bc7f834bea52604181df13489f6092 /source/blender/ikplugin/intern/ikplugin_api.c
parent9d104f57b60c8a82337e38bb44b2aef6a93ac840 (diff)
Fix (unreported) memleak with legacy IKsolver.
Looks like new depsgraph may initialize some IK trees, without ever executing them (which also frees them with legacy IKSolver code)...
Diffstat (limited to 'source/blender/ikplugin/intern/ikplugin_api.c')
-rw-r--r--source/blender/ikplugin/intern/ikplugin_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/ikplugin/intern/ikplugin_api.c b/source/blender/ikplugin/intern/ikplugin_api.c
index d2681440177..80de0beb9f4 100644
--- a/source/blender/ikplugin/intern/ikplugin_api.c
+++ b/source/blender/ikplugin/intern/ikplugin_api.c
@@ -53,8 +53,8 @@ static IKPlugin ikplugin_tab[] = {
{
iksolver_initialize_tree,
iksolver_execute_tree,
- NULL,
- NULL,
+ iksolver_release_tree,
+ iksolver_clear_data,
NULL,
NULL,
NULL,