From ec2de04abbf3c0057818c97613450771ea045429 Mon Sep 17 00:00:00 2001 From: Peri Telemachou Date: Fri, 22 Sep 2023 10:20:20 +1000 Subject: [PATCH] Add missing deferred `Close()` Co-authored-by: Thomas Bonfort --- godal_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/godal_test.go b/godal_test.go index 1cb772d..eaeee79 100644 --- a/godal_test.go +++ b/godal_test.go @@ -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)