From bbe409f5e34b5269ecbb7f61dbb8a793e2871d20 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Mon, 5 Sep 2011 13:03:27 -0400 Subject: Made general memory fixes This revision should also hopefully fix the undefined behavior GameOverScene bug--if it, I'll reopen the ticket and continue investigating. Fixes #215 --- Classes/Highscore.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Classes/Highscore.m') diff --git a/Classes/Highscore.m b/Classes/Highscore.m index 546cbfe..e459d48 100755 --- a/Classes/Highscore.m +++ b/Classes/Highscore.m @@ -50,7 +50,7 @@ } } - return [highscores copy]; + return [[highscores copy] autorelease]; } + (Highscore*)localHighscoreForGameMode:(NSString*)gameMode -- cgit 1.4.1