r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500

oops; removed one unmap too many in the tests.


svn:r9040
This commit is contained in:
Nick Mathewson 2006-12-07 15:10:36 +00:00
parent e6c467fe07
commit 8249f5d676

View File

@ -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. */