From 0facbc77c3c86b51c628a8464c650ff51400d949 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 9 Oct 2015 14:38:13 -0500 Subject: [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 --- src/H5G.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12