diff options
author | TERESH1 <svyatoslavtereshin@yandex.ru> | 2022-12-28 05:30:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 18:30:21 -0800 |
commit | 0025ae839102aabc167690db60b154970ec4de05 (patch) | |
tree | 7bccb9b1032e4eaa933ab155e2dccbce8d231a52 /tar/test/test_option_lzma.c | |
parent | 2d329073435d36065ce30bfd29428f6a45e41016 (diff) | |
download | libarchive-0025ae839102aabc167690db60b154970ec4de05.tar.gz |
Memory leaks fix for tests (#1829)
Issue #1828
Diffstat (limited to 'tar/test/test_option_lzma.c')
-rw-r--r-- | tar/test/test_option_lzma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/test/test_option_lzma.c b/tar/test/test_option_lzma.c index a618ff8a..ab6f13f9 100644 --- a/tar/test/test_option_lzma.c +++ b/tar/test/test_option_lzma.c @@ -44,6 +44,7 @@ DEFINE_TEST(test_option_lzma) if (strstr(p, "Unsupported compression") != NULL) { skipping("This version of bsdtar was compiled " "without lzma support"); + free(p); return; } failure("--lzma option is broken"); |