diff options
Diffstat (limited to 'apps/plugins/puzzles/rockbox.c')
-rw-r--r-- | apps/plugins/puzzles/rockbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index a10bf7dd5c..eabe739657 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c | |||
@@ -3201,9 +3201,8 @@ static bool load_game(void) | |||
3201 | char *game; | 3201 | char *game; |
3202 | const char *ret = identify_game(&game, read_wrapper, (void*)fd); | 3202 | const char *ret = identify_game(&game, read_wrapper, (void*)fd); |
3203 | 3203 | ||
3204 | if(!*game && ret) | 3204 | if(!game && ret) |
3205 | { | 3205 | { |
3206 | sfree(game); | ||
3207 | rb->splash(HZ, ret); | 3206 | rb->splash(HZ, ret); |
3208 | rb->close(fd); | 3207 | rb->close(fd); |
3209 | return false; | 3208 | return false; |