aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-23 12:39:05 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-23 12:39:05 -0400
commitab1b81e838150ae070b1c6818b9c95faeea56c06 (patch)
tree34f8de513fb1081b717f9477cfa79fd8f35498fb /src/common/compat.h
parent75fc4dbbcabaedc715f0f9e883ccab1c9634e787 (diff)
downloadtor-ab1b81e838150ae070b1c6818b9c95faeea56c06.tar
tor-ab1b81e838150ae070b1c6818b9c95faeea56c06.tar.gz
Close the windows file handle after CreateFileMapping; it isn't needed
I did the changes file; the rest came pseudonymously
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index d2f1fd129..06aeeb196 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -249,7 +249,6 @@ typedef struct tor_mmap_t {
size_t mapping_size; /**< Size of the actual mapping. (This is this file
* size, rounded up to the nearest page.) */
#elif defined MS_WINDOWS
- HANDLE file_handle;
HANDLE mmap_handle;
#endif