svn merge ^/trunk/blender -r46300:46330
[blender.git] / source / blender / editors / mesh / editmesh_utils.c
index 2ebeb9ca22477667fd324f3f3e078324cab11d41..75e220395db15a1a9c94dd3b04e8148dc142c391 100644 (file)
@@ -545,11 +545,11 @@ static void free_undo(void *me_v)
 {
        Mesh *me = me_v;
        if (me->key) {
-               free_key(me->key);
+               BKE_key_free(me->key);
                MEM_freeN(me->key);
        }
 
-       free_mesh(me, FALSE);
+       BKE_mesh_free(me, FALSE);
        MEM_freeN(me);
 }