[svn-r384] Changes since 19980430

----------------------

./src/H5G.c
        Fixed a read/write of free memory that my home-brew purify
        doesn't catch (yet :-)
This commit is contained in:
Robb Matzke 1998-05-01 16:16:06 -05:00
parent 65bb86375c
commit 05eeb4d25b

View File

@ -1288,9 +1288,11 @@ H5G_close(H5G_t *grp)
if (H5O_close(&(grp->ent)) < 0) {
HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to close");
}
grp->nref = 0;
H5MM_xfree (grp);
} else {
--grp->nref;
}
--grp->nref;
FUNC_LEAVE(SUCCEED);
}