summaryrefslogtreecommitdiffstats
path: root/src/H5FD.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-30 22:13:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-30 22:13:08 (GMT)
commitce08905a577da189277afdc01afa792092f4b52f (patch)
tree9d50cf095dabdaa273e9d8076ed3707f7ee25023 /src/H5FD.c
parent5d44f23ac06c70143aa949e02ff150ec36fb3cef (diff)
downloadhdf5-ce08905a577da189277afdc01afa792092f4b52f.zip
hdf5-ce08905a577da189277afdc01afa792092f4b52f.tar.gz
hdf5-ce08905a577da189277afdc01afa792092f4b52f.tar.bz2
[svn-r1701] Closed a couple more resouce leaks..
Diffstat (limited to 'src/H5FD.c')
-rw-r--r--src/H5FD.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index c060e86..64dace3 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -199,7 +199,8 @@ H5FDregister(const H5FD_class_t *cls)
/* Create the new class ID */
if ((retval=H5I_register(H5I_VFL, saved))<0) {
- HRETURN_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL,
+ H5MM_xfree(saved);
+ HRETURN_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL,
"unable to register file driver ID");
}