diff options
Diffstat (limited to 'utils/sansapatcher/sansaio-win32.c')
-rw-r--r-- | utils/sansapatcher/sansaio-win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/sansapatcher/sansaio-win32.c b/utils/sansapatcher/sansaio-win32.c index ee6a8cd93d..be250136f9 100644 --- a/utils/sansapatcher/sansaio-win32.c +++ b/utils/sansapatcher/sansaio-win32.c | |||
@@ -147,6 +147,7 @@ int sansa_close(struct sansa_t* sansa) | |||
147 | { | 147 | { |
148 | unlock_volume(sansa->dh); | 148 | unlock_volume(sansa->dh); |
149 | CloseHandle(sansa->dh); | 149 | CloseHandle(sansa->dh); |
150 | sansa->dh = INVALID_HANDLE_VALUE; | ||
150 | return 0; | 151 | return 0; |
151 | } | 152 | } |
152 | 153 | ||