summaryrefslogtreecommitdiff
path: root/src/common/compress_zlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compress_zlib.h')
-rw-r--r--src/common/compress_zlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compress_zlib.h b/src/common/compress_zlib.h
index 8ace467bf0..3377e0e8de 100644
--- a/src/common/compress_zlib.h
+++ b/src/common/compress_zlib.h
@@ -31,7 +31,8 @@ tor_zlib_compress_process(tor_zlib_compress_state_t *state,
const char **in, size_t *in_len,
int finish);
-void tor_zlib_compress_free(tor_zlib_compress_state_t *state);
+void tor_zlib_compress_free_(tor_zlib_compress_state_t *state);
+#define tor_zlib_compress_free(st) FREE_AND_NULL(tor_zlib_compress, (st))
size_t tor_zlib_compress_state_size(const tor_zlib_compress_state_t *state);