diff options
author | Pixel <pixel@nobis-crew.org> | 2009-06-01 12:02:48 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-06-01 12:02:48 -0700 |
commit | 3495a6365f0e3dc3906844c37575438c62faca2a (patch) | |
tree | d5a7e78cbe13b80f7edf58be971ccbc2285010d2 | |
parent | 11dc9cf95ad1cf60773e87f6a83be2867c9b6f0e (diff) |
Fixing win32 handle leak bug.
-rw-r--r-- | lib/Handle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 65935a4..110fcca 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -319,7 +319,7 @@ void Handle::close() throw (GeneralException) { } #if defined (_WIN32) && !defined (NO_HFILE) if (hFile) { - CloseHandle(hFile); + _close(GetHandle()); hFile = 0; } #endif |