summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r--src/H5Sselect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index 34e9473..a4f13d7 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -518,6 +518,7 @@ H5S_select_deserialize (H5S_t **space, const uint8_t **p)
/* Return space to the caller if allocated */
if(!*space)
*space = tmp_space;
+
done:
/* Free temporary space if not passed to caller (only happens on error) */
if(!*space && tmp_space)