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 ec2de04 commit b95aaee
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 @@ -4277,6 +4277,7 @@ func TestNearblackBlack(t *testing.T) {
t.Error(err)
return
}
defer geom.Close()
_, err = vrtDs.CreateLayer("grid", nil, GTPolygon)
if err != nil {
t.Error(err)
Expand Down

0 comments on commit b95aaee

Please sign in to comment.