From 75292258704e51623e0f89254da146bb6734a58a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 17 Jan 2009 18:25:27 +0000 Subject: [PATCH] file windows fix --- src/file.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file.cpp b/src/file.cpp index 53c30e32a..20882d7fb 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -425,6 +425,7 @@ namespace libtorrent return -1; } } + CloseHandle(ol.hEvent); return ret; #else size_type ret = lseek(m_fd, file_offset, SEEK_SET);