summaryrefslogtreecommitdiffstats
path: root/src/H5Doh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r--src/H5Doh.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c
index f9f9249..4da2381 100644
--- a/src/H5Doh.c
+++ b/src/H5Doh.c
@@ -152,6 +152,10 @@ done:
* Programmer: Quincey Koziol
* Monday, November 21, 2005
*
+ * Modifications: Peter Cao
+ * Tuesday, December 27, 2005
+ * Free filter pipeline for copying a dataset
+ *
*-------------------------------------------------------------------------
*/
static void
@@ -168,6 +172,10 @@ H5O_dset_free_copy_file_udata(void *_udata)
if(udata->src_dtype)
H5T_close(udata->src_dtype);
+ /* Release copy of dataset's filter pipeline, if it was set */
+ if (udata->src_pline)
+ H5O_free(H5O_PLINE_ID, udata->src_pline);
+
/* Release space for 'copy file' user data */
H5FL_FREE(H5D_copy_file_ud_t, udata);