]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation with --disable-memory-sentinels
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Dec 2017 13:01:54 +0000 (08:01 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Dec 2017 13:01:54 +0000 (08:01 -0500)
We'd broken this with the recent _free() rewrite.

src/common/memarea.c

index fa7b69a43cc3e2f76cb4c8aee9d01f17ef10147f..68c1625fe46523ae8b3bde86a793c7b8d3f6c4fc 100644 (file)
@@ -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);