diff options
Diffstat (limited to 'utils/ipodpatcher/ipodio-posix.c')
-rw-r--r-- | utils/ipodpatcher/ipodio-posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ipodpatcher/ipodio-posix.c b/utils/ipodpatcher/ipodio-posix.c index 9b386d994f..dc856a2e0d 100644 --- a/utils/ipodpatcher/ipodio-posix.c +++ b/utils/ipodpatcher/ipodio-posix.c | |||
@@ -355,6 +355,7 @@ int ipod_reopen_rw(struct ipod_t* ipod) | |||
355 | int ipod_close(struct ipod_t* ipod) | 355 | int ipod_close(struct ipod_t* ipod) |
356 | { | 356 | { |
357 | close(ipod->dh); | 357 | close(ipod->dh); |
358 | ipod->dh = -1; | ||
358 | return 0; | 359 | return 0; |
359 | } | 360 | } |
360 | 361 | ||