Revision: 26296
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26296
Author:   blendix
Date:     2010-01-26 14:17:28 +0100 (Tue, 26 Jan 2010)

Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/intern/anim.c

Modified: trunk/blender/source/blender/imbuf/intern/anim.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/anim.c    2010-01-26 12:12:31 UTC 
(rev 26295)
+++ trunk/blender/source/blender/imbuf/intern/anim.c    2010-01-26 13:17:28 UTC 
(rev 26296)
@@ -1060,7 +1060,9 @@
                if (ibuf == NULL) {
                        return (0);
                }
+
                IMB_freeImBuf(ibuf); /* ???? */
+               ibuf= NULL;
        }
 
        if (position < 0) return(0);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to