Commit: 3b6ce4123c37b164a140411b6dadd955a3d5f915
Author: Sergey Sharybin
Date:   Wed Sep 14 15:56:23 2016 +0200
Branches: master
https://developer.blender.org/rB3b6ce4123c37b164a140411b6dadd955a3d5f915

Fix memory leak in copy pose operator

===================================================================

M       source/blender/editors/armature/pose_transform.c

===================================================================

diff --git a/source/blender/editors/armature/pose_transform.c 
b/source/blender/editors/armature/pose_transform.c
index df906a3..ddf35d7 100644
--- a/source/blender/editors/armature/pose_transform.c
+++ b/source/blender/editors/armature/pose_transform.c
@@ -265,6 +265,7 @@ void ED_clipboard_posebuf_free(void)
                
                /* was copied without constraints */
                BLI_freelistN(&g_posebuf->chanbase);
+               BKE_pose_channels_hash_free(g_posebuf);
                MEM_freeN(g_posebuf);
        }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to