summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-08-31 09:30:58 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-08-31 09:30:58 +0000
commit9da68f9ed7cd866e28e6b41efc3661458b1d5409 (patch)
tree8519ebecd40567bd2b60504f43e9d5257687ceaa /rbutil/sansapatcher
parent90f92b216be2e1e413b61afb59fdfd3cac1b798e (diff)
Fix missing sansa_close when scanning for sansas in sansapatcher.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/sansapatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.c b/rbutil/sansapatcher/sansapatcher.c
index eb6f7d12a5..e2e9c88936 100644
--- a/rbutil/sansapatcher/sansapatcher.c
+++ b/rbutil/sansapatcher/sansapatcher.c
@@ -527,8 +527,8 @@ int sansa_scan(struct sansa_t* sansa)
}
if (is_sansa(sansa) < 0) {
- continue;
sansa_close(sansa);
+ continue;
}
#ifdef __WIN32__