diff options
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 3315ffe4b98..b0932148076 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -393,7 +393,6 @@ static int imb_save_openexr_half(struct ImBuf *ibuf, const char *name, int flags catch (const std::exception &exc) { printf("OpenEXR-save: ERROR: %s\n", exc.what()); - if (ibuf) IMB_freeImBuf(ibuf); return (0); } @@ -454,7 +453,6 @@ static int imb_save_openexr_float(struct ImBuf *ibuf, const char *name, int flag catch (const std::exception &exc) { printf("OpenEXR-save: ERROR: %s\n", exc.what()); - if (ibuf) IMB_freeImBuf(ibuf); return (0); } |