summaryrefslogtreecommitdiffstats
path: root/src/H5FDcore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-09-27 03:46:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-09-27 03:46:39 (GMT)
commit1d02d3268e562063172604fb2c8b0a72733bc172 (patch)
tree18453127e699d176220ea85e528c16cdaefba6e3 /src/H5FDcore.c
parent183c8245af3a43d2f07845a0ac717f558afa3d1c (diff)
downloadhdf5-1d02d3268e562063172604fb2c8b0a72733bc172.zip
hdf5-1d02d3268e562063172604fb2c8b0a72733bc172.tar.gz
hdf5-1d02d3268e562063172604fb2c8b0a72733bc172.tar.bz2
[svn-r2601] Purpose:
Bug Fix Description: The core and log VFL drivers were leaking small amounts of memory when they were used. Solution: Free the appropriate memory block (for the core driver) and don't allocate a block (for the log driver). Platforms tested: Solaris 2.6 (i.e. baldric)
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r--src/H5FDcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index 24711af..b923861 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -411,6 +411,7 @@ H5FD_core_close(H5FD_t *_file)
if (file->name) H5MM_xfree(file->name);
if (file->mem) H5MM_xfree(file->mem);
memset(file, 0, sizeof(H5FD_core_t));
+ H5MM_xfree(file);
FUNC_LEAVE(0);
}