diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-21 18:30:55 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-21 18:30:55 (GMT) |
commit | 535172c8fb0ba9078cdaedf26cd36009864e0d99 (patch) | |
tree | 44f7b2795eb9d836143dcda8056e58540daa504b /src/H5F.c | |
parent | 099e781c6112eb3afb66264ccb3644627d3983e0 (diff) | |
download | hdf5-535172c8fb0ba9078cdaedf26cd36009864e0d99.zip hdf5-535172c8fb0ba9078cdaedf26cd36009864e0d99.tar.gz hdf5-535172c8fb0ba9078cdaedf26cd36009864e0d99.tar.bz2 |
[svn-r6720] Purpose:
Bug Fix
Description:
A resource leak happened if the H5Fget_access_plist() function was
called. What was happening: the driver ID and info parts of the
property list copied in H5Fget_access_plist were being overwritten,
but those properties were copied initially, so we lost information.
Added calls to the H5Fget_access_plist function to get the PList and
then immediately close it. It would cause an infinite loop if there
is a resource leak.
Solution:
Before copying over those values, call the H5F_acs_close() function
to close those values.
Platforms tested:
Modi4 (Parallel & Fortran)
Arabica (Fortran)
Verbena (Fortran & C++)
Misc. update:
Diffstat (limited to 'src/H5F.c')
0 files changed, 0 insertions, 0 deletions