I don't think that this should be exposed as an actual function. This should probably just get put inside the destructor (and that way you're always guaranteed that `tdefl_compressor` is non-null.