diff options
author | Roger Dingledine <arma@torproject.org> | 2006-08-27 02:07:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-08-27 02:07:54 +0000 |
commit | 9f5856c03da9f8c1ae381046d6929cdc9d6d3004 (patch) | |
tree | b6f3f977b5f19b7ee38901fd068d3e370795cc4e /src/common | |
parent | 24ad1e06cf2ff1f37483faa6f882cfda249a3ac2 (diff) | |
download | tor-9f5856c03da9f8c1ae381046d6929cdc9d6d3004.tar.gz tor-9f5856c03da9f8c1ae381046d6929cdc9d6d3004.zip |
stop three memory leaks. nick, fix these if i'm wrong.
svn:r8235
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 924a0394a3..e1b7837d0c 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 { |