Fix T96756: Blender hanges on rendering after file save, after recent changes

This commit is contained in:
Brecht Van Lommel 2022-03-24 19:34:31 +01:00
parent 9ef400ddf7
commit 3c4947cdaa
Notes: blender-bot 2023-02-14 06:47:29 +01:00
Referenced by issue #96756, Crash when rendering a second time after saving the image to disk
1 changed files with 4 additions and 0 deletions

View File

@ -391,6 +391,10 @@ static bool image_save_single(ReportList *reports,
}
}
if (rr) {
BKE_image_release_renderresult(opts->scene, ima);
}
return ok;
}