summaryrefslogtreecommitdiffstats
path: root/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 080eb2f..6a89554 100644
--- a/malloc.c
+++ b/malloc.c
@@ -5,7 +5,7 @@
void* sa_memdup(const void* p, size_t size) {
void *r;
- if (!(r = malloc(size)))
+ if (!(r = sa_malloc(size)))
return NULL;
memcpy(r, p, size);