diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2013-05-01 23:07:32 +0400 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2013-05-01 23:07:32 +0400 |
commit | 9fe63e82c38b9f4ea28929ab7bc144f6d4089d31 (patch) | |
tree | 684879720dbca30e5afd5d740b19e2a103f7bf96 /source/blender/imbuf/intern | |
parent | 30556d4cd5650d1e06984d3549319a73f170b566 (diff) |
Fix double free error in OpenEXR when file cannot be saved
Diffstat (limited to 'source/blender/imbuf/intern')
-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); } |