summaryrefslogtreecommitdiffstats
path: root/src/H5MM.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5MM.c')
-rw-r--r--src/H5MM.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5MM.c b/src/H5MM.c
index f15b306..680d392 100644
--- a/src/H5MM.c
+++ b/src/H5MM.c
@@ -105,7 +105,7 @@ H5MM_xrealloc (void *mem, size_t size)
mem = H5MM_xfree (mem);
} else {
- mem = realloc (mem, size);
+ mem = HDrealloc (mem, size);
assert (mem);
}
@@ -138,8 +138,8 @@ H5MM_xstrdup (const char *s)
char *mem;
if (!s) return NULL;
- mem = H5MM_xmalloc (strlen (s)+1);
- strcpy (mem, s);
+ mem = H5MM_xmalloc (HDstrlen (s)+1);
+ HDstrcpy (mem, s);
return mem;
}