aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-07 15:10:36 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-07 15:10:36 +0000
commit8249f5d676ee6b1e4e0774ade10f8052f4772108 (patch)
treec67b27578037548835901044168ea6e593d2959c /src
parente6c467fe07163d44dc3b62007f09b6b95a572c28 (diff)
downloadtor-8249f5d676ee6b1e4e0774ade10f8052f4772108.tar
tor-8249f5d676ee6b1e4e0774ade10f8052f4772108.tar.gz
r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500
oops; removed one unmap too many in the tests. svn:r9040
Diffstat (limited to 'src')
-rw-r--r--src/or/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index d805ca69c..7dec2a5da 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1302,6 +1302,7 @@ test_mmap(void)
/* make sure we can unlink. */
test_assert(unlink(fname1) == 0);
test_streq(mapping->data, "Short file.");
+ tor_munmap_file(mapping);
#endif
/* Make sure that we fail to map a no-longer-existent file. */