From 2aeba0e8f19ee032a6a2e9db6d25047d01a5c2dc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 31 Oct 2024 18:45:43 +1100 Subject: [PATCH] Fix: MEM_freeN/MEM_delete mismatch with the image save operator --- source/blender/editors/space_image/image_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_image/image_ops.cc b/source/blender/editors/space_image/image_ops.cc index 7a9eb97b0c2..4f2cd284be4 100644 --- a/source/blender/editors/space_image/image_ops.cc +++ b/source/blender/editors/space_image/image_ops.cc @@ -1285,7 +1285,7 @@ static Image *image_open_single(Main *bmain, if (!ima) { if (op->customdata) { - MEM_freeN(op->customdata); + MEM_delete(static_cast(op->customdata)); } BKE_reportf(op->reports, RPT_ERROR,