Blender Git Commit Log

Git Commits -> Revision a4c6558

Revision a4c6558 by Bastien Montagne (master)
December 2, 2016, 08:44 (GMT)
Fix (unreported) memleak in ImBuf mipmap code in some cases.

`IMB_remakemipmap` may 'shrink' the mipmap list without actually freeing
anything, so we need to check all possible levels in `imb_freemipmapImBuf`
to avoid memory leaks, not only those currently used.

Commit Details:

Full Hash: a4c655848180a8e88c1b19a1be0a96cff66670f2
Parent Commit: 0e1cf85
Lines Changed: +8, -5

1 Modified Path:

/source/blender/imbuf/intern/allocimbuf.c (+8, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021