1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | void
saf_freeInfo_path(SAF_PathInfo info /* a SAF_PathInfo object obtained from a saf_readInfo_path() call. */)
{
SAF_ENTER(saf_freeInfo_path,/*void*/);
SAF_REQUIRE(info,SAF_LOW_CHK_COST,/*void*/,_saf_errmsg("INFO must be non-NULL"));
if (info->errStr)
free(info->errStr);
if (info->dbPropsBuf)
{
free(info->dbPropsBuf);
H5Tclose(info->dbPropsType);
}
free(info);
SAF_LEAVE(/*void*/);
}
|