ASan: fix a leak in GZ extraction

This commit is contained in:
James Turner
2021-04-21 21:53:56 +01:00
parent 83b58b68ae
commit 1304624f30

View File

@@ -348,6 +348,9 @@ public:
~GZTarExtractor()
{
if (haveInitedZLib) {
inflateEnd(&zlibStream);
}
free(zlibOutput);
}