summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-10-09 19:38:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-10-09 19:38:13 (GMT)
commit0facbc77c3c86b51c628a8464c650ff51400d949 (patch)
treeab16dc7d96dd0783d77f235d8b2ed90440d7942c /src/H5G.c
parent8edfabd297c10579eac941f31a26d5727889fa88 (diff)
downloadhdf5-0facbc77c3c86b51c628a8464c650ff51400d949.zip
hdf5-0facbc77c3c86b51c628a8464c650ff51400d949.tar.gz
hdf5-0facbc77c3c86b51c628a8464c650ff51400d949.tar.bz2
[svn-r28015] Decription:
Clean up memory leak when generating group creation property list for user. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & valgrind Linux/64 4.1.8 (Jerome's laptop) w/serial & valgrind
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 089dc50..779a2ad 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -607,7 +607,7 @@ H5G_get_create_plist(H5G_t *grp)
HGOTO_ERROR(H5E_SYM, H5E_BADMESG, FAIL, "can't get link pipeline")
/* Set the pipeline for the property list */
- if(H5P_set(new_plist, H5O_CRT_PIPELINE_NAME, &pline) < 0)
+ if(H5P_poke(new_plist, H5O_CRT_PIPELINE_NAME, &pline) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set link pipeline")
} /* end if */