1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Fixing what is almost certainly a memory leak

This commit is contained in:
matto 2015-10-29 22:37:14 -04:00 committed by Sergey Lipskiy
parent 675d777e92
commit 7fb2ad2d5b

View File

@ -820,6 +820,7 @@ void TextureCache::_loadBackground(CachedTexture *pTexture)
}
if (m_curUnpackAlignment > 1)
glPixelStorei(GL_UNPACK_ALIGNMENT, m_curUnpackAlignment);
free(pSwapped);
free(pDest);
}