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.
This commit is contained in:
@@ -432,6 +432,7 @@ ImBuf *IMB_dupImBuf(ImBuf *ibuf1)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user