diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-10-03 18:56:21 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2015-10-03 18:56:21 (GMT) |
commit | 0ef29b550bc30d5798001ac144d1b1228d663919 (patch) | |
tree | cf4a9a952e776200c88948e47a046a8606e2c151 /c++/src/H5IdComponent.cpp | |
parent | 87cc068ccbc761a473bbe8d211a40383c0933db0 (diff) | |
download | hdf5-0ef29b550bc30d5798001ac144d1b1228d663919.zip hdf5-0ef29b550bc30d5798001ac144d1b1228d663919.tar.gz hdf5-0ef29b550bc30d5798001ac144d1b1228d663919.tar.bz2 |
[svn-r27943] Purpose: Fix HDFFV-7947 (cont.)
Description:
In the friend functions that setId, changed the direct assignment of
id to using p_setId() so that the previous id can be closed first to
avoid memory leaks.
This change was tested and confirmed by user Jorj on Forum when his
application stopped running out of memory. Currently, the C++ library
doesn't have a way to test this. A function such as H5Inmembers for
library ids would be helpful.
Platforms tested:
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5IdComponent.cpp')
0 files changed, 0 insertions, 0 deletions