aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index 23a9817479..eee4a315db 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -80,7 +80,8 @@ tor_compress_output_t tor_compress_process(tor_compress_state_t *state,
char **out, size_t *out_len,
const char **in, size_t *in_len,
int finish);
-void tor_compress_free(tor_compress_state_t *state);
+void tor_compress_free_(tor_compress_state_t *state);
+#define tor_compress_free(st) FREE_AND_NULL(tor_compress, (st))
size_t tor_compress_state_size(const tor_compress_state_t *state);