summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 7c7bbbb..e8a5d16 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -449,6 +449,7 @@ herr_t H5P_release(hatom_t oid)
if(dim->s->perm!=NULL)
HDfree(dim->s->perm);
HDfree(dim->s);
+ dim->s=NULL;
} /* end if */
} /* end if */
HDfree(dim);