]> git.ipfire.org Git - thirdparty/xz.git/commit
Tests: Fix memory leaks in test_index.
authorJia Tan <jiat0218@gmail.com>
Wed, 28 Jun 2023 12:46:31 +0000 (20:46 +0800)
committerJia Tan <jiat0218@gmail.com>
Wed, 28 Jun 2023 16:07:16 +0000 (00:07 +0800)
commit66bdcfa85fef2911cc80f5f30fed3f9610faccb4
tree22d671a1a9c74df9a00d9f6c237e988b3c51ec67
parentfe3bd438fb119f9bad3f08dc29d331e4956196e1
Tests: Fix memory leaks in test_index.

Several tests were missing calls to lzma_index_end() to clean up the
lzma_index structs. The memory leaks were discovered by using
-fsanitize=address with GCC.
tests/test_index.c