diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-06-25 23:25:41 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-07-04 16:32:17 +0300 |
commit | 9c299c70e8b328b512281166bb9e9668ea76ea65 (patch) | |
tree | 607b2f1b522eb6c3475bf5ee9ea716c467cc3cab /internal | |
parent | ece2a232bafa09a1f037de514899003cc5b364d2 (diff) |
Null out zip reader after reading archive
Diffstat (limited to 'internal')
-rw-r--r-- | internal/vfs/zip/archive.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/vfs/zip/archive.go b/internal/vfs/zip/archive.go index 9f01794b..432f92d1 100644 --- a/internal/vfs/zip/archive.go +++ b/internal/vfs/zip/archive.go @@ -165,7 +165,7 @@ func (a *zipArchive) readArchive(url string) { } // recycle memory - a.archive.File = nil + a.archive = nil fileCount := float64(len(a.files)) metrics.ZipOpened.WithLabelValues("ok").Inc() |