diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-19 18:30:11 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-19 18:30:11 (GMT) |
commit | 6f342514df3dbf035f5401783b9322f6deb0c87a (patch) | |
tree | 2d9ab414202cbbe86ab3c80ebffc06af5d4306ad /src/H5CS.c | |
parent | cbd0928d89170db56dba6c6b8c3fd7d02fe18ce6 (diff) | |
download | hdf5-6f342514df3dbf035f5401783b9322f6deb0c87a.zip hdf5-6f342514df3dbf035f5401783b9322f6deb0c87a.tar.gz hdf5-6f342514df3dbf035f5401783b9322f6deb0c87a.tar.bz2 |
[svn-r16588]
1. #1487 (B1) DS memory leaks ISSUE 1: On a "go to" error condition, previously allocated buffers were not freed. NOTE: these are "potential" memory leaks because typically the error conditions do not occur, so the potential memory leaks also do NOT occur. ISSUE 2: A function used to read dimension scales realistic data (topography of the North Atlantic, latitude and longitude) was being called without the data buffer being freed. SOLUTION FOR ISSUE 1: added "free" calls for the allocated buffers on the error sections. SOLUTION FOR ISSUE 2: added a "free" call after the read_data function, after using the buffer (on a H5Dwrite and H5Screate_simple). The read_data function reads both data and dimensions from the ASCII data files. DOCS: no docs added. Done for 1.9 and 1.8 STATUS: Closed bug
tested: h5committest
Diffstat (limited to 'src/H5CS.c')
0 files changed, 0 insertions, 0 deletions