From ee09b4a8968dca8c00c9278d5792751834df9ab7 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sat, 15 Mar 2008 11:05:49 +0000 Subject: [PATCH] Release the buffers used for exercising the compress code. --- lib/libarchive/test/test_write_compress.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libarchive/test/test_write_compress.c b/lib/libarchive/test/test_write_compress.c index 78cb3acd84c0..2f4d38d15b77 100644 --- a/lib/libarchive/test/test_write_compress.c +++ b/lib/libarchive/test/test_write_compress.c @@ -96,4 +96,7 @@ DEFINE_TEST(test_write_compress) #else archive_read_finish(a); #endif + + free(data); + free(buff); }