[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49879] trunk/blender/source/blender/imbuf /intern/allocimbuf.c: Fix for [#32320] "Image browser in UV/ image Editor makes Blender crash at exit when .dds image is loaded" reported by Christian Monfort (gulbroz), who also provided the patch to fix the problem.

Mitchell Stokes mogurijin at gmail.com
Mon Aug 13 22:16:55 CEST 2012


Revision: 49879
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49879
Author:   moguri
Date:     2012-08-13 20:16:55 +0000 (Mon, 13 Aug 2012)
Log Message:
-----------
Fix for [#32320] "Image browser in UV/image Editor makes Blender crash at exit when .dds image is loaded" reported by Christian Monfort (gulbroz), who also provided the patch to fix the problem. The problem was a double free with some dds buffer data.

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

Modified: trunk/blender/source/blender/imbuf/intern/allocimbuf.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/allocimbuf.c	2012-08-13 17:36:29 UTC (rev 49878)
+++ trunk/blender/source/blender/imbuf/intern/allocimbuf.c	2012-08-13 20:16:55 UTC (rev 49879)
@@ -432,6 +432,7 @@
 	tbuf.zbuf_float    = NULL;
 	for (a = 0; a < IB_MIPMAP_LEVELS; a++)
 		tbuf.mipmap[a] = NULL;
+	tbuf.dds_data.data = NULL;
 	
 	/* set malloc flag */
 	tbuf.mall               = ibuf2->mall;




More information about the Bf-blender-cvs mailing list