mirror of
https://github.com/gen2brain/cbconvert
synced 2025-10-14 10:38:51 +02:00
Close archive
This commit is contained in:
@@ -915,6 +915,7 @@ func (c *Convertor) archiveComment(fileName string) (string, error) {
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("archiveComment: %w", err)
|
||||
}
|
||||
defer zr.Close()
|
||||
|
||||
return zr.Comment, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user