Fix T52414: Blender 2.79 crash on object duplication via menu.
[blender.git] / source / blender / editors / transform / transform_snap_object.c
index fff92a8385a31d1344aa8ba3d105ea31fcb465f4..867f04563c62629a98f84039d31e21bf541d7e72 100644 (file)
@@ -744,8 +744,6 @@ static bool raycastObj(
                                ray_start, ray_dir,
                                ob, dm, obmat, ob_index,
                                ray_depth, r_loc, r_no, r_index, r_hit_list);
-
-                       dm->release(dm);
                }
        }