mirror of https://github.com/aria2/aria2
Close GZipFiles in the d'tor
parent
e548a1a225
commit
6b7a51d5e0
|
@ -77,6 +77,7 @@ GZipFile::GZipFile(const char* filename, const char* mode)
|
|||
|
||||
GZipFile::~GZipFile()
|
||||
{
|
||||
close();
|
||||
free(buf_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue