From 9da68f9ed7cd866e28e6b41efc3661458b1d5409 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 31 Aug 2008 09:30:58 +0000 Subject: [PATCH] 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 --- rbutil/sansapatcher/sansapatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__