Close archive

This commit is contained in:
Milan Nikolic
2023-08-27 11:43:19 +02:00
parent 8db1690d3c
commit 50b0911586

View File

@@ -915,6 +915,7 @@ func (c *Convertor) archiveComment(fileName string) (string, error) {
if err != nil { if err != nil {
return "", fmt.Errorf("archiveComment: %w", err) return "", fmt.Errorf("archiveComment: %w", err)
} }
defer zr.Close()
return zr.Comment, nil return zr.Comment, nil
} }