diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-02 11:44:41 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-02 11:44:41 +0300 |
commit | a4c655848180a8e88c1b19a1be0a96cff66670f2 (patch) | |
tree | 2b58fff936af22492735cdecf725de6d7d386e99 /intern | |
parent | 0e1cf858a0f11d0a57ad60429af650b2da632889 (diff) |
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.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions