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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 16:17:28 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 16:17:28 +0300
commit50a7cdd1161764b60c87f6deabd2bba38a400de6 (patch)
tree47fad5c73cb0690f0dea5f70ee100c28593f27ac /source/blender/imbuf/intern
parentc8eaae0bd7792f85e8976723932db080d8e96d48 (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')
-rw-r--r--source/blender/imbuf/intern/anim.c2
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);