aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress_lzma.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compress_lzma.h')
-rw-r--r--src/common/compress_lzma.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compress_lzma.h b/src/common/compress_lzma.h
index 7639d98a70..1e92fd660c 100644
--- a/src/common/compress_lzma.h
+++ b/src/common/compress_lzma.h
@@ -31,7 +31,8 @@ tor_lzma_compress_process(tor_lzma_compress_state_t *state,
const char **in, size_t *in_len,
int finish);
-void tor_lzma_compress_free(tor_lzma_compress_state_t *state);
+void tor_lzma_compress_free_(tor_lzma_compress_state_t *state);
+#define tor_lzma_compress_free(st) FREE_AND_NULL(tor_lzma_compress, (st))
size_t tor_lzma_compress_state_size(const tor_lzma_compress_state_t *state);