Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-02-28 19:45:52 +0300
committerTon Roosendaal <ton@blender.org>2006-02-28 19:45:52 +0300
commit21df108cb92355c60f6b4852ac7a558b5ffa778e (patch)
treea8e8c1256f57c3658b94c6c23afca45806b03fd8 /source/blender/imbuf/intern/openexr/openexr_api.cpp
parentb1c7f7f0f7b0655a730af950bed70495ef1ca05c (diff)
Saving OpenEXR half didn't free allocated half buffer... silly c++ memory
management!
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.cpp')
-rw-r--r--source/blender/imbuf/intern/openexr/openexr_api.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp
index 8c0bbb66911..cb9bdd28019 100644
--- a/source/blender/imbuf/intern/openexr/openexr_api.cpp
+++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp
@@ -249,6 +249,7 @@ static short imb_save_openexr_half(struct ImBuf *ibuf, char *name, int flags)
file->setFrameBuffer (frameBuffer);
file->writePixels (height);
delete file;
+ delete pixels;
}
catch (const std::exception &exc)
{