소스 검색

Close GZipFiles in the d'tor

Nils Maier 12 년 전
부모
커밋
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_);
 }