[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 58e8094816cb7d2dbc6ecc71892b667e968d9e2d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits