diff options
-rw-r--r-- | src/or/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c index d805ca69c2..7dec2a5daf 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. */ |