-some memory leaks fixes
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-08-29 14:16:58 +00:00
parent 79fe55c71c
commit 5afd1a45a2
8 changed files with 26 additions and 0 deletions

View File

@@ -137,6 +137,9 @@ GuiGameZone::GuiGameZone(float x, float y, bool hasFocus, MTGGameZone* zone, Gui
GuiGameZone::~GuiGameZone(){
if (cd) delete cd;
for (vector<TransientCardView*>::iterator it = cards.begin(); it != cards.end(); ++it){
delete(*it);
}
}
ostream& GuiGameZone::toString(ostream& out) const