mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
- missed memory leak in last commit
This commit is contained in:
@@ -608,6 +608,7 @@ SDL_Surface * CAnimation::image(size_t frame, size_t group)
|
|||||||
|
|
||||||
void CAnimation::clear()
|
void CAnimation::clear()
|
||||||
{
|
{
|
||||||
|
unload();
|
||||||
entries.clear();
|
entries.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user