[or-cvs] r9040: oops; removed one unmap too many in the tests. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Thu Dec 7 15:10:37 UTC 2006
Author: nickm
Date: 2006-12-07 10:10:36 -0500 (Thu, 07 Dec 2006)
New Revision: 9040
Modified:
tor/trunk/
tor/trunk/src/or/test.c
Log:
r11456 at Kushana: nickm | 2006-12-07 10:09:55 -0500
oops; removed one unmap too many in the tests.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r11456] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c 2006-12-07 15:07:33 UTC (rev 9039)
+++ tor/trunk/src/or/test.c 2006-12-07 15:10:36 UTC (rev 9040)
@@ -1302,6 +1302,7 @@
/* 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. */
More information about the tor-commits
mailing list