diff options
Diffstat (limited to 'src/test/compressor/test_compression.cc')
-rw-r--r-- | src/test/compressor/test_compression.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compressor/test_compression.cc b/src/test/compressor/test_compression.cc index 8e5cc3f485b..8eded294534 100644 --- a/src/test/compressor/test_compression.cc +++ b/src/test/compressor/test_compression.cc @@ -248,6 +248,7 @@ void test_compress(CompressorRef compressor, size_t size) int res = compressor->compress(in, out); EXPECT_EQ(res, 0); } + free(data); } void test_decompress(CompressorRef compressor, size_t size) @@ -265,6 +266,7 @@ void test_decompress(CompressorRef compressor, size_t size) int res = compressor->decompress(out, out_dec); EXPECT_EQ(res, 0); } + free(data); } TEST_P(CompressorTest, compress_1024) |