]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-compression: test-compression - Fix memory leak
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 14 Sep 2020 14:44:58 +0000 (17:44 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 14 Sep 2020 14:44:58 +0000 (17:44 +0300)
src/lib-compression/test-compression.c

index 1d65426c1f61594aae61946b99b0253ef9bd725e..2f5cf283da2dbcbb6685b90079c9945e2c7abb7c 100644 (file)
@@ -565,6 +565,7 @@ test_compression_handler_large_random_io(const struct compression_handler *handl
        i_stream_unref(&input);
 
        input = iostream_temp_finish(&temp_output, SIZE_MAX);
+       o_stream_unref(&output);
 
        /* verify that reading the input works */