Fix memory leak in copy pose operator

This commit is contained in:
Sergey Sharybin 2016-09-14 15:56:23 +02:00
parent ce952fd36e
commit 3b6ce4123c
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}