[syslinux] fix non release of the volume handle with NTFS

* Closes #904
This commit is contained in:
Pete Batard 2017-02-17 11:05:49 +00:00
parent 2f81e4f177
commit 136fd7a37e
3 changed files with 12 additions and 9 deletions

View file

@ -89,7 +89,7 @@ BOOL InstallSyslinux(DWORD drive_index, char drive_letter, int fs_type)
HANDLE f_handle = INVALID_HANDLE_VALUE;
HANDLE d_handle = INVALID_HANDLE_VALUE;
DWORD bytes_read, bytes_written, err;
S_NTFSSECT_VOLINFO vol_info;
S_NTFSSECT_VOLINFO vol_info = { 0 };
LARGE_INTEGER vcn, lba, len;
S_NTFSSECT_EXTENT extent;
BOOL r = FALSE;