[tor-commits] [tor/master] Fix compilation with --disable-memory-sentinels

nickm at torproject.org nickm at torproject.org
Mon Dec 11 13:03:44 UTC 2017


commit 58e8094816cb7d2dbc6ecc71892b667e968d9e2d
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Dec 11 08:01:54 2017 -0500

    Fix compilation with --disable-memory-sentinels
    
    We'd broken this with the recent _free() rewrite.
---
 src/common/memarea.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/memarea.c b/src/common/memarea.c
index fa7b69a43..68c1625fe 100644
--- a/src/common/memarea.c
+++ b/src/common/memarea.c
@@ -322,7 +322,7 @@ memarea_new(void)
   return ma;
 }
 void
-memarea_drop_all(memarea_t *area)
+memarea_drop_all_(memarea_t *area)
 {
   memarea_clear(area);
   smartlist_free(area->pieces);



More information about the tor-commits mailing list