summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 0b4b36a..3382eb4 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -266,7 +266,7 @@ extern "C" {
* an equivalent non-const pointer around) is far messier.
*/
#ifndef h5_free_const
-#define h5_free_const(mem) HDfree((void *)(uintptr_t)mem)
+#define h5_free_const(mem) free((void *)(uintptr_t)mem)
#endif
/* Generally useful testing routines */