Nils Maier 12 лет назад
Родитель
Сommit
6b7a51d5e0
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/GZipFile.cc

+ 1 - 0
src/GZipFile.cc

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