summaryrefslogtreecommitdiff
path: root/src/common/memarea.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-11 08:01:54 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-11 08:01:54 -0500
commit58e8094816cb7d2dbc6ecc71892b667e968d9e2d (patch)
treedc0aba2d0481f0427eebc88f2371ac5e0628043b /src/common/memarea.c
parent241b676638285e63bd6e4ca5225444a4b16207be (diff)
downloadtor-58e8094816cb7d2dbc6ecc71892b667e968d9e2d.tar.gz
tor-58e8094816cb7d2dbc6ecc71892b667e968d9e2d.zip
Fix compilation with --disable-memory-sentinels
We'd broken this with the recent _free() rewrite.
Diffstat (limited to 'src/common/memarea.c')
-rw-r--r--src/common/memarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/memarea.c b/src/common/memarea.c
index fa7b69a43c..68c1625fe4 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);