aboutsummaryrefslogtreecommitdiff
path: root/src/xz/coder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/coder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xz/coder.h b/src/xz/coder.h
index 7edca039..35000438 100644
--- a/src/xz/coder.h
+++ b/src/xz/coder.h
@@ -65,3 +65,8 @@ extern void coder_set_compression_settings(void);
/// Compress or decompress the given file
extern void coder_run(const char *filename);
+
+#ifndef NDEBUG
+/// Free the memory allocated for the coder and kill the worker threads.
+extern void coder_free(void);
+#endif