summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-07-23 17:57:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-07-23 17:57:06 (GMT)
commit0fe805bc647fad2427e80f5bb4906db90b036921 (patch)
treec4f9bcad98460f8e585fa5db0ea198e069fbff3c /src/H5F.c
parentccdd97ed9723ff6286a28ce5c79fcb2b493f8c6f (diff)
downloadhdf5-0fe805bc647fad2427e80f5bb4906db90b036921.zip
hdf5-0fe805bc647fad2427e80f5bb4906db90b036921.tar.gz
hdf5-0fe805bc647fad2427e80f5bb4906db90b036921.tar.bz2
[svn-r5828] Purpose:
Code cleanup Description: Make the sieve buffer managed by the free-list code. Platforms tested: FreeBSD 4.6 (sleipnir)
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 68f82cf..3073648 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -85,6 +85,9 @@ H5FL_DEFINE_STATIC(H5F_file_t);
/* Declare the external free list for the H5G_t struct */
H5FL_EXTERN(H5G_t);
+/* Declare the external PQ free list for the sieve buffer information */
+H5FL_BLK_EXTERN(sieve_buf);
+
/*-------------------------------------------------------------------------
* Function: H5F_init
@@ -1478,7 +1481,7 @@ H5F_dest(H5F_t *f)
/* Free the data sieve buffer, if it's been allocated */
if(f->shared->sieve_buf) {
assert(f->shared->sieve_dirty==0); /* The buffer had better be flushed... */
- f->shared->sieve_buf = H5MM_xfree (f->shared->sieve_buf);
+ f->shared->sieve_buf = H5FL_BLK_FREE (sieve_buf,f->shared->sieve_buf);
} /* end if */
/* Destroy file creation properties */