svn merge ^/trunk/blender -r46330:46335
[blender.git] / source / blender / editors / mesh / editmesh_utils.c
index 75e220395db15a1a9c94dd3b04e8148dc142c391..b465e729ea233ef0938eac9c92379536f76d8533 100644 (file)
@@ -611,7 +611,7 @@ UvVertMap *EDBM_uv_vert_map_create(BMEditMesh *em, int selected, int do_face_idx
        buf = vmap->buf = (UvMapVert *)MEM_callocN(sizeof(*vmap->buf) * totuv, "UvMapVert");
 
        if (!vmap->vert || !vmap->buf) {
-               free_uv_vert_map(vmap);
+               BKE_mesh_uv_vert_map_free(vmap);
                if (do_face_idx_array)
                        EDBM_index_arrays_free(em);
                return NULL;