diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 6883cc4051d..01e6c6b3fb7 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -661,6 +661,9 @@ struct ImBuf *imb_load_openexr(unsigned char *mem, int size, int flags) IMB_rect_from_float(ibuf); } } + + delete file; + return(ibuf); }