diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-26 18:10:15 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-26 18:10:15 +0400 |
commit | 3a3311073250453a74923b8bb80f22de69771c11 (patch) | |
tree | 4349063b400ff85a5dbe9eb76f10af1597dce09c /source/blender/imbuf | |
parent | cc1ebaf49640dfcb596869b3dc082785aeae9d58 (diff) |
Fix for segfault when building proxies in Sequencer.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/anim_movie.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 5ef783fe968..8a700053d30 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -245,6 +245,9 @@ void IMB_close_anim(struct anim * anim) void IMB_close_anim_proxies(struct anim *anim) { + if (anim == NULL) + return; + IMB_free_indices(anim); } |