mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fixing what is almost certainly a memory leak
This commit is contained in:
parent
675d777e92
commit
7fb2ad2d5b
|
@ -820,6 +820,7 @@ void TextureCache::_loadBackground(CachedTexture *pTexture)
|
|||
}
|
||||
if (m_curUnpackAlignment > 1)
|
||||
glPixelStorei(GL_UNPACK_ALIGNMENT, m_curUnpackAlignment);
|
||||
free(pSwapped);
|
||||
free(pDest);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user