summaryrefslogtreecommitdiff
path: root/src/or/microdesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/microdesc.h')
-rw-r--r--src/or/microdesc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/microdesc.h b/src/or/microdesc.h
index 4e58aa33f0..7adb8c68af 100644
--- a/src/or/microdesc.h
+++ b/src/or/microdesc.h
@@ -39,7 +39,9 @@ smartlist_t *microdesc_list_missing_digest256(networkstatus_t *ns,
int downloadable_only,
digestmap_t *skip);
-void microdesc_free(microdesc_t *md);
+void microdesc_free_(microdesc_t *md, const char *fname, int line);
+#define microdesc_free(md) \
+ microdesc_free_((md), __FILE__, __LINE__)
void microdesc_free_all(void);
void update_microdesc_downloads(time_t now);