summaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index 72a35fea6d..29fb07273d 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -136,7 +136,9 @@ int networkstatus_add_detached_signatures(networkstatus_t *target,
int severity,
const char **msg_out);
char *networkstatus_get_detached_signatures(smartlist_t *consensuses);
-void ns_detached_signatures_free(ns_detached_signatures_t *s);
+void ns_detached_signatures_free_(ns_detached_signatures_t *s);
+#define ns_detached_signatures_free(s) \
+ FREE_AND_NULL(ns_detached_signatures, (s))
/* cert manipulation */
authority_cert_t *authority_cert_dup(authority_cert_t *cert);