diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-05 13:03:27 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-05 13:03:27 -0400 |
commit | bbe409f5e34b5269ecbb7f61dbb8a793e2871d20 (patch) | |
tree | b928d980abca3d1f1747362032061d592478556c /Classes/Highscore.m | |
parent | 5af6401805f65a9b5968625d565613dd83edcfc7 (diff) | |
download | cartcollect-bbe409f5e34b5269ecbb7f61dbb8a793e2871d20.tar.gz cartcollect-bbe409f5e34b5269ecbb7f61dbb8a793e2871d20.tar.bz2 cartcollect-bbe409f5e34b5269ecbb7f61dbb8a793e2871d20.zip |
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
Diffstat (limited to 'Classes/Highscore.m')
-rwxr-xr-x | Classes/Highscore.m | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 | ||
53 | return [highscores copy]; | 53 | return [[highscores copy] autorelease]; |
54 | } | 54 | } |
55 | 55 | ||
56 | + (Highscore*)localHighscoreForGameMode:(NSString*)gameMode | 56 | + (Highscore*)localHighscoreForGameMode:(NSString*)gameMode |