Fix: MEM_freeN/MEM_delete mismatch with the image save operator

This commit is contained in:
Campbell Barton
2024-10-31 18:45:43 +11:00
parent c9d19422f0
commit 2aeba0e8f1

View File

@@ -1285,7 +1285,7 @@ static Image *image_open_single(Main *bmain,
if (!ima) {
if (op->customdata) {
MEM_freeN(op->customdata);
MEM_delete(static_cast<ImageOpenData *>(op->customdata));
}
BKE_reportf(op->reports,
RPT_ERROR,