summaryrefslogtreecommitdiff
path: root/src/or/onion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/onion.h')
-rw-r--r--src/or/onion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion.h b/src/or/onion.h
index 559cbb8818..48985700e3 100644
--- a/src/or/onion.h
+++ b/src/or/onion.h
@@ -32,7 +32,7 @@ typedef struct server_onion_keys_t {
server_onion_keys_t *server_onion_keys_new(void);
void server_onion_keys_free_(server_onion_keys_t *keys);
-#define server_onion_keys_free(keys) FREE_AND_NULL(server_onion_keys, (keys))
+#define server_onion_keys_free(keys) FREE_AND_NULL(server_onion_keys_t, server_onion_keys_free_, (keys))
void onion_handshake_state_release(onion_handshake_state_t *state);