diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-26 16:17:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-26 16:17:28 +0300 |
commit | 50a7cdd1161764b60c87f6deabd2bba38a400de6 (patch) | |
tree | 47fad5c73cb0690f0dea5f70ee100c28593f27ac /source/blender/imbuf/intern/anim.c | |
parent | c8eaae0bd7792f85e8976723932db080d8e96d48 (diff) |
Fix attempt to free already freed memory when loading an animation
in the sequencer, was in the code that tests if it's a file that it
understands. Didn't cause a crash here though, just warning.
Diffstat (limited to 'source/blender/imbuf/intern/anim.c')
-rw-r--r-- | source/blender/imbuf/intern/anim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/anim.c b/source/blender/imbuf/intern/anim.c index effc91739c0..4d573fd15b3 100644 --- a/source/blender/imbuf/intern/anim.c +++ b/source/blender/imbuf/intern/anim.c @@ -1060,7 +1060,9 @@ struct ImBuf * IMB_anim_absolute(struct anim * anim, int position) { if (ibuf == NULL) { return (0); } + IMB_freeImBuf(ibuf); /* ???? */ + ibuf= NULL; } if (position < 0) return(0); |