Browse Source

r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500
oops; removed one unmap too many in the tests.


svn:r9040

Nick Mathewson 17 years ago
parent
commit
8249f5d676
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/test.c

+ 1 - 0
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. */