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-03-02 00:18:31 +0300
committerTon Roosendaal <ton@blender.org>2006-03-02 00:18:31 +0300
commita8afa6dc201c8e5869744ba2cbf51114ec075632 (patch)
tree972e163a51512fb30332300b950d1ba104da6ed4 /source/blender/imbuf/intern
parentb9861d2a800d22730e1319c0cd29996d281c89ed (diff)
Proper syntax for freeing an allocated array in silly c++ :)
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r--source/blender/imbuf/intern/openexr/openexr_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp
index cb9bdd28019..6252caa2918 100644
--- a/source/blender/imbuf/intern/openexr/openexr_api.cpp
+++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp
@@ -249,7 +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;
+ delete [] pixels;
}
catch (const std::exception &exc)
{