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
This commit is contained in:
Bertrik Sikken 2008-08-31 09:30:58 +00:00
parent 90f92b216b
commit 9da68f9ed7

View file

@ -527,8 +527,8 @@ int sansa_scan(struct sansa_t* sansa)
} }
if (is_sansa(sansa) < 0) { if (is_sansa(sansa) < 0) {
continue;
sansa_close(sansa); sansa_close(sansa);
continue;
} }
#ifdef __WIN32__ #ifdef __WIN32__