Skip to content

Commit

Permalink
Integrating fix suggested by jhendersonHDF in support of Unidata#2990
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Sep 4, 2024
1 parent 3d795fa commit 6b1a755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhdf5/H5FDhttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ EXTERNL hid_t
H5FD_http_finalize(void)
{
/* Reset VFL ID */
if (H5FD_HTTP_g)
if (H5FD_HTTP_g && (H5Iis_valid(H5FD_HTTP_g) > 0))
H5FDunregister(H5FD_HTTP_g);
H5FD_HTTP_g = 0;

Expand Down

0 comments on commit 6b1a755

Please sign in to comment.