diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-26 18:05:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-26 18:05:01 +0400 |
commit | ba0ef7a592ace7d6baa5c5f1342706de4e70b2e8 (patch) | |
tree | 2bfb462aac626a4e9bfd868b046722a14cdb959d /source/blender/imbuf/intern | |
parent | f09d36d6bce6f2fb9f618f9bf57a91a3502ba3eb (diff) |
Fix #29030: render operator only used scene property if layers was used, now it
is possible to specify the scene without the layer too.
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index 98828c58511..1d82c862dbd 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -165,6 +165,8 @@ void IMB_freeImBuf(ImBuf *ibuf) IMB_freezbuffloatImBuf(ibuf); freeencodedbufferImBuf(ibuf); IMB_metadata_free(ibuf); + if (ibuf->dds_data.data != NULL) + free(ibuf->dds_data.data); MEM_freeN(ibuf); } } |