Tests: Fix memory leaks in test_block_header.
commitb9499c94fccc03eba5311b5305f04149a7c5af65
authorJia Tan <jiat0218@gmail.com>
Wed, 28 Jun 2023 12:43:29 +0000 (28 20:43 +0800)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 18 Jul 2023 10:26:48 +0000 (18 13:26 +0300)
tree0b0d0677777f9eb5d1f9b371aced1922b970d259
parent1155471651ad456c5f90aee6435931fae65682bf
Tests: Fix memory leaks in test_block_header.

test_block_header was not properly freeing the filter options between
calls to lzma_block_header_decode(). The memory leaks were discovered by
using -fsanitize=address with GCC.
tests/test_block_header.c