Skip to content

Commit

Permalink
BAG: remove erroneous H5Sclose() call in error code path
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Sep 25, 2023
1 parent 7fc7bb5 commit b792dcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frmts/hdf5/bagdataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,6 @@ CPLErr BAGResampledBand::IReadBlock(int nBlockXOff, int nBlockYOff,
nRefinementIndexase + super_x;
if (!poGDS->CacheRefinementValues(nRefinementIndex))
{
H5Sclose(memspaceVarresMD);
return CE_Failure;
}

Expand Down

0 comments on commit b792dcf

Please sign in to comment.