svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22130:22205
[blender-staging.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 5c34b19c1f41d79f1f570ce8a31e87d440bb57cc..599844f10202e94abda1c340e65b9ad0ae0f2f75 100644 (file)
@@ -178,6 +178,7 @@ extern wchar_t *copybufinfo;
 
        // XXX copy/paste buffer stuff...
 extern void free_anim_copybuf(); 
+extern void free_posebuf(); 
 
 /* called in creator.c even... tsk, split this! */
 void WM_exit(bContext *C)
@@ -231,6 +232,7 @@ void WM_exit(bContext *C)
        free_blender();                         /* blender.c, does entire library and spacetypes */
 //     free_matcopybuf();
        free_anim_copybuf();
+       free_posebuf();
 //     free_vertexpaint();
 //     free_imagepaint();
        
@@ -239,6 +241,7 @@ void WM_exit(bContext *C)
        BLF_exit();
 
        RE_FreeAllRender();
+       RE_engines_exit();
        
 //     free_txt_data();