From c8cae60071af13413ba0152af56bacde86e386d5 Mon Sep 17 00:00:00 2001 From: "wagic.jeck" Date: Sun, 31 Jan 2010 15:59:29 +0000 Subject: [PATCH] Jeck - Fix memory leak in collection stats page. Thanks, Psyringe! --- projects/mtg/src/GameStateAwards.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/mtg/src/GameStateAwards.cpp b/projects/mtg/src/GameStateAwards.cpp index 5a9e946c8..6b9863cff 100644 --- a/projects/mtg/src/GameStateAwards.cpp +++ b/projects/mtg/src/GameStateAwards.cpp @@ -312,6 +312,7 @@ bool GameStateAwards::enterStats(int option){ } } + SAFE_DELETE(ddw); return true; } void GameStateAwards::ButtonPressed(int controllerId, int controlId)