diff options
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r-- | src/or/dirserv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h index 46967a6cb2..037294bdb1 100644 --- a/src/or/dirserv.h +++ b/src/or/dirserv.h @@ -195,7 +195,8 @@ spooled_resource_t *spooled_resource_new(dir_spool_source_t source, size_t digestlen); spooled_resource_t *spooled_resource_new_from_cache_entry( struct consensus_cache_entry_t *entry); -void spooled_resource_free(spooled_resource_t *spooled); +void spooled_resource_free_(spooled_resource_t *spooled); +#define spooled_resource_free(sp) FREE_AND_NULL(spooled_resource, (sp)) void dirserv_spool_remove_missing_and_guess_size(dir_connection_t *conn, time_t cutoff, int compression, |