mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fixed memory leak in CAnimation (regression of #376)
This commit is contained in:
@@ -1555,6 +1555,8 @@ CAnimation::~CAnimation()
|
||||
for (auto & _image : elem.second)
|
||||
delete _image.second;
|
||||
}
|
||||
if(defFile)
|
||||
delete defFile;
|
||||
}
|
||||
|
||||
void CAnimation::duplicateImage(const size_t sourceGroup, const size_t sourceFrame, const size_t targetGroup)
|
||||
|
Reference in New Issue
Block a user