diff options
| author | Nils Maier <maierman@web.de> | 2013-04-28 20:58:56 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-04-28 21:32:51 +0200 |
| commit | 6b7a51d5e043c5c916b394cf8f7580023f616b95 (patch) | |
| tree | a2b4b052cdb586102d3e52cecc9541ba7ac4a718 /src/GZipFile.cc | |
| parent | e548a1a2256bc204ce380da7f63e082a7a897137 (diff) | |
Close GZipFiles in the d'tor
Diffstat (limited to 'src/GZipFile.cc')
| -rw-r--r-- | src/GZipFile.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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_); } |
