From 5ffd704c8ce8a0f1d0f0b85fc3dcfa58779002b7 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sun, 25 Jul 2004 23:32:10 -0500 Subject: [svn-r8943] Purpose: Bug fix Description: Close memory leak I introduced in H5Sencode() routine. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest --- src/H5S.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/H5S.c b/src/H5S.c index e94c08b..86ac23a 100644 --- a/src/H5S.c +++ b/src/H5S.c @@ -1961,6 +1961,8 @@ H5S_decode(unsigned char *buf) ret_value=ds; done: + H5MM_xfree(f.shared); + FUNC_LEAVE_NOAPI(ret_value); } -- cgit v0.12