ASan: fix a leak in GZ extraction

This commit is contained in:
James Turner 2021-04-21 21:53:56 +01:00 committed by James Turner
parent fe41a03180
commit a095ab684c

View File

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