Core/SAI: Fixed another memory leak
This commit is contained in:
1 parent
d26b18be2a
commit
9fea7d9a85
2 files changed
+10
-2
No files matched your search
@@ -51,7 +51,15 @@ SmartScript::SmartScript()
|
||||
meOrigGUID = 0;
|
||||
goOrigGUID = 0;
|
||||
mResumeActionList = true;
|
||||
mLastInvoker = NULL;
|
||||
mLastInvoker = 0;
|
||||
}
|
||||
|
||||
SmartScript::~SmartScript()
|
||||
{
|
||||
for (ObjectListMap::iterator itr = mTargetStorage->begin(); itr != mTargetStorage->end(); ++itr)
|
||||
delete itr->second;
|
||||
|
||||
delete mTargetStorage;
|
||||
}
|
||||
|
||||
void SmartScript::OnReset()
|
||||
|
||||
Reference in new issue
Block a user