diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 16bbe84ad..49e5591ff 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -1033,6 +1033,8 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG return parseMagicLine(s1, id, spell, card); } DebugTrace("INFO parseMagicLine: Alternative Cost was not fulfilled for " << s); + if(tc) + SAFE_DELETE(tc); return NULL; }