file windows fix

This commit is contained in:
Arvid Norberg 2009-01-17 18:25:27 +00:00
parent ae1fa3c1b5
commit 7529225870
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ namespace libtorrent
return -1; return -1;
} }
} }
CloseHandle(ol.hEvent);
return ret; return ret;
#else #else
size_type ret = lseek(m_fd, file_offset, SEEK_SET); size_type ret = lseek(m_fd, file_offset, SEEK_SET);