diff options
author | Peter Schlaile <peter@schlaile.de> | 2006-02-28 16:07:02 +0300 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2006-02-28 16:07:02 +0300 |
commit | 5a8fd7d80954239c3aa685b311c80f97521c50f0 (patch) | |
tree | 6557ea2b727c692e6c42c9e874d13d72e9da23f6 /source/blender/imbuf/intern/allocimbuf.c | |
parent | 4e6d43a2cb2caac745b99a66e881210bcb7f299d (diff) |
- Now the cache limitor also frees the float-planes
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index c8cb654c1e8..30e97328e7c 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -475,10 +475,12 @@ static void imbuf_cache_destructor(void * data) imb_freeplanesImBuf(ibuf); imb_freerectImBuf(ibuf); + imb_freerectfloatImBuf(ibuf); IMB_freezbufImBuf(ibuf); + IMB_freezbuffloatImBuf(ibuf); IMB_freecmapImBuf(ibuf); freeencodedbufferImBuf(ibuf); - + ibuf->c_handle = 0; } |