From 6b7a51d5e043c5c916b394cf8f7580023f616b95 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Sun, 28 Apr 2013 20:58:56 +0200 Subject: [PATCH] Close GZipFiles in the d'tor --- src/GZipFile.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GZipFile.cc b/src/GZipFile.cc index 947c5318..2eda8f97 100644 --- a/src/GZipFile.cc +++ b/src/GZipFile.cc @@ -77,6 +77,7 @@ GZipFile::GZipFile(const char* filename, const char* mode) GZipFile::~GZipFile() { + close(); free(buf_); }