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:
authorPeter Schlaile <peter@schlaile.de>2006-02-28 16:07:02 +0300
committerPeter Schlaile <peter@schlaile.de>2006-02-28 16:07:02 +0300
commit5a8fd7d80954239c3aa685b311c80f97521c50f0 (patch)
tree6557ea2b727c692e6c42c9e874d13d72e9da23f6 /source/blender/imbuf/intern/allocimbuf.c
parent4e6d43a2cb2caac745b99a66e881210bcb7f299d (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.c4
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;
}