From: Nick Mathewson Date: Mon, 11 Dec 2017 13:01:54 +0000 (-0500) Subject: Fix compilation with --disable-memory-sentinels X-Git-Tag: tor-0.3.3.1-alpha~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58e8094816cb7d2dbc6ecc71892b667e968d9e2d;p=thirdparty%2Ftor.git Fix compilation with --disable-memory-sentinels We'd broken this with the recent _free() rewrite. --- 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);