summaryrefslogtreecommitdiff
path: root/tools/ipodpatcher/ipodpatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ipodpatcher/ipodpatcher.c')
-rw-r--r--tools/ipodpatcher/ipodpatcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ipodpatcher/ipodpatcher.c b/tools/ipodpatcher/ipodpatcher.c
index 38b13de2a2..bcabe43fc8 100644
--- a/tools/ipodpatcher/ipodpatcher.c
+++ b/tools/ipodpatcher/ipodpatcher.c
@@ -1265,6 +1265,7 @@ int ipod_scan(struct ipod_t* ipod)
}
n++;
strcpy(last_ipod,ipod->diskname);
+ ipod_close(ipod);
}
if (n==0) {