diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-19 18:37:07 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-19 18:37:07 (GMT) |
commit | 1cc1da51338ec4ce20f229c315b3943ff6a35070 (patch) | |
tree | e233d71d7505e83aa27cc3328f275e88b2b0a323 /windows_vnet | |
parent | a848e0131603ea89c2a6de0464b397d5d0edc1f5 (diff) | |
download | hdf5-1cc1da51338ec4ce20f229c315b3943ff6a35070.zip hdf5-1cc1da51338ec4ce20f229c315b3943ff6a35070.tar.gz hdf5-1cc1da51338ec4ce20f229c315b3943ff6a35070.tar.bz2 |
[svn-r16589] merged from trunk: 16588
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 'windows_vnet')
0 files changed, 0 insertions, 0 deletions