Fix use after free in test_deflate_bound.

This commit is contained in:
Mika Lindqvist 2023-04-26 02:18:24 +03:00 committed by Hans Kristian Rosbach
parent 045a278d86
commit 4b4377a362

View File

@ -81,6 +81,7 @@ public:
"length: " << i;
free(out_buf);
out_buf = NULL;
}
err = PREFIX(deflateEnd)(&c_stream);