From 7fb4e27c9026395d136e4f559130e44bd3c5703f Mon Sep 17 00:00:00 2001 From: shawnlaffan Date: Wed, 25 Oct 2023 08:34:10 +1100 Subject: [PATCH] Tests: clear data set variable before re-using Might help with CI failures. --- t/00.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/00.t b/t/00.t index b795db5..52edf92 100644 --- a/t/00.t +++ b/t/00.t @@ -296,6 +296,7 @@ if(1){ my $d = $l->GetDefn(); my $f = Geo::GDAL::FFI::Feature->new($d); $l->CreateFeature($f); + undef $ds; $ds = Open('test.shp'); $l = $ds->GetLayer; $d = $l->GetDefn();