summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2011-11-16 22:25:10 +0000
committerFrank Gevaerts <frank@gevaerts.be>2011-11-16 22:25:10 +0000
commit7a095a8f81058fad8e87aab28cd650e6cbe591ff (patch)
treec62889b8ecfc88288ef15a874379aaf0fe10d1a6
parentb6252abb2518cb97dda7c1fc197bc80a57f931c3 (diff)
downloadrockbox-7a095a8f81058fad8e87aab28cd650e6cbe591ff.tar.gz
rockbox-7a095a8f81058fad8e87aab28cd650e6cbe591ff.zip
Fix file descriptor leak. Thanks to Ophir Lojkine for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31002 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/rockblox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 9354d10f5a..7097704742 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -889,7 +889,6 @@ static void load_game(void)
889 < (ssize_t)sizeof(struct _rockblox_status)) 889 < (ssize_t)sizeof(struct _rockblox_status))
890 { 890 {
891 rb->splash(HZ/2, "Loading Rockblox resume info failed"); 891 rb->splash(HZ/2, "Loading Rockblox resume info failed");
892 return;
893 } else { 892 } else {
894 resume = true; 893 resume = true;
895 } 894 }