Skip to content

Commit

Permalink
Add missing deferred Close()
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Bonfort <[email protected]>
  • Loading branch information
pericles-tpt and tbonfort authored Sep 22, 2023
1 parent d9ab5ba commit ec2de04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions godal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4271,6 +4271,7 @@ func TestNearblackBlack(t *testing.T) {
t.Error(err)
return
}
defer vrtDs.Close()
geom, err := NewGeometryFromWKT("POLYGON((0 0 0, 0 1 0, 1 1 255, 1 0 255))", nil)
if err != nil {
t.Error(err)
Expand Down

0 comments on commit ec2de04

Please sign in to comment.