ferhatelmas commented on code in PR #721:
URL: https://github.com/apache/iceberg-go/pull/721#discussion_r2874892805
##########
manifest.go:
##########
@@ -605,6 +605,9 @@ func NewManifestReader(file ManifestFile, in io.Reader)
(*ManifestReader, error)
if err != nil {
return nil, err
}
+ defer func() {
+ _ = dec.Close()
+ }()
Review Comment:
I think there is a regression here to fix the leak
https://github.com/apache/iceberg-go/pull/766
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]