]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Document that lzma_allocator.free(opaque, NULL) is possible
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 29 Sep 2025 15:37:19 +0000 (18:37 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 29 Sep 2025 15:37:19 +0000 (18:37 +0300)
commit61b114e92f53b7977aad69f8a7130fc25d8a80e5
tree5b89b0fc64a3cb26e5bb65d5beae7ae326430d9d
parent6d287a3ae90e1b990294f3d5264003d81e853c5e
liblzma: Document that lzma_allocator.free(opaque, NULL) is possible

It feels better to fix the docs than change the code because this
way newly-written applications will be forced to be compatible with
the lzma_allocator behavior of old liblzma versions. It can matter
if someone builds the application against an older liblzma version.

Fixes: https://github.com/tukaani-project/xz/issues/183
src/liblzma/api/lzma/base.h