diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-20 16:59:16 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-20 16:59:16 +0400 |
commit | a4f73c5694a44e6948665ee54d51d8df70be8e24 (patch) | |
tree | 950257b6c13f5f8c40d767f65f6617cd77ced38c /source/blender | |
parent | 5327c2f486ec5c5024b28816d76beb44aa71180c (diff) |
Fix #32579: Sequencer crash when changing render dimensions
Memory limitor's queue could be affected when it's being iterated
on enforcing limits -- that's because iteration could free color
managed image buffers.
Fixed by getting least priority element after every element was
freed. Could be optimized a bit, but it anyway shouldn't be so
slow due to specific of cache limiting and limit enforcing finish
condition.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/imbuf/intern/moviecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/moviecache.c b/source/blender/imbuf/intern/moviecache.c index 78a989ad48f..d5aa635f548 100644 --- a/source/blender/imbuf/intern/moviecache.c +++ b/source/blender/imbuf/intern/moviecache.c @@ -386,7 +386,7 @@ ImBuf *IMB_moviecache_get(MovieCache *cache, void *userkey) void IMB_moviecache_free(MovieCache *cache) { - PRINT("%s: create '%s' free\n", __func__, cache->name); + PRINT("%s: cache '%s' free\n", __func__, cache->name); BLI_ghash_free(cache->hash, moviecache_keyfree, moviecache_valfree); |