summaryrefslogtreecommitdiff
path: root/src/or/dircollate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dircollate.h')
-rw-r--r--src/or/dircollate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dircollate.h b/src/or/dircollate.h
index 7932e18998..ab44c83b00 100644
--- a/src/or/dircollate.h
+++ b/src/or/dircollate.h
@@ -18,7 +18,8 @@
typedef struct dircollator_s dircollator_t;
dircollator_t *dircollator_new(int n_votes, int n_authorities);
-void dircollator_free(dircollator_t *obj);
+void dircollator_free_(dircollator_t *obj);
+#define dircollator_free(c) FREE_AND_NULL(dircollator, (c))
void dircollator_add_vote(dircollator_t *dc, networkstatus_t *v);
void dircollator_collate(dircollator_t *dc, int consensus_method);