summaryrefslogtreecommitdiffstats
path: root/src/H5Eint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Eint.c')
-rw-r--r--src/H5Eint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Eint.c b/src/H5Eint.c
index 6ed405f..8eea147 100644
--- a/src/H5Eint.c
+++ b/src/H5Eint.c
@@ -744,6 +744,9 @@ done:
if(va_started)
va_end(ap);
#ifdef H5_HAVE_VASPRINTF
+ /* Memory was allocated with HDvasprintf so it needs to be freed
+ * with HDfree
+ */
if(tmp)
HDfree(tmp);
#else /* H5_HAVE_VASPRINTF */