Fix potential memory leaks (clang-tidy)

This commit is contained in:
Michael Cook (mackal)
2016-05-06 22:58:45 -04:00
parent 74b3fe9d61
commit 47c9182ba3
7 changed files with 183 additions and 158 deletions
+1
View File
@@ -4567,6 +4567,7 @@ void EntityList::ExpeditionWarning(uint32 minutes_left)
it->second->QueuePacket(outapp);
++it;
}
safe_delete(outapp);
}
Mob *EntityList::GetClosestMobByBodyType(Mob *sender, bodyType BodyType)