ASan: fix a leak in GZ extraction
This commit is contained in:
parent
fe41a03180
commit
a095ab684c
@ -348,6 +348,9 @@ public:
|
|||||||
|
|
||||||
~GZTarExtractor()
|
~GZTarExtractor()
|
||||||
{
|
{
|
||||||
|
if (haveInitedZLib) {
|
||||||
|
inflateEnd(&zlibStream);
|
||||||
|
}
|
||||||
free(zlibOutput);
|
free(zlibOutput);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user