aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-08-27 02:07:54 +0000
committerRoger Dingledine <arma@torproject.org>2006-08-27 02:07:54 +0000
commit9f5856c03da9f8c1ae381046d6929cdc9d6d3004 (patch)
treeb6f3f977b5f19b7ee38901fd068d3e370795cc4e /src/common/compat.c
parent24ad1e06cf2ff1f37483faa6f882cfda249a3ac2 (diff)
downloadtor-9f5856c03da9f8c1ae381046d6929cdc9d6d3004.tar
tor-9f5856c03da9f8c1ae381046d6929cdc9d6d3004.tar.gz
stop three memory leaks. nick, fix these if i'm wrong.
svn:r8235
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 924a0394a..e1b7837d0 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -152,6 +152,7 @@ void
tor_munmap_file(tor_mmap_t *handle)
{
munmap((char*)handle->data, handle->size);
+ tor_free(handle);
}
#elif defined(MS_WINDOWS)
typedef struct win_mmap_t {