mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 19:11:47 +00:00
Close GZipFiles in the d'tor
This commit is contained in:
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
Block a user