Cleanup: deduplicate free code
It is more appropriate that `depths` is freed in `ED_view3d_depths_free`.
This commit is contained in:
@@ -1687,7 +1687,6 @@ static void object_transform_axis_target_free_data(wmOperator *op)
|
||||
#ifdef USE_RENDER_OVERRIDE
|
||||
if (xfd->depths) {
|
||||
ED_view3d_depths_free(xfd->depths);
|
||||
MEM_freeN(xfd->depths);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user