Close GZipFiles in the d'tor

pull/82/head
Nils Maier 2013-04-28 20:58:56 +02:00
parent e548a1a225
commit 6b7a51d5e0
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ GZipFile::GZipFile(const char* filename, const char* mode)
GZipFile::~GZipFile()
{
close();
free(buf_);
}