summaryrefslogtreecommitdiff
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.c b/src/memory.c
index 25c9bd328..41e4a16ca 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -77,7 +77,7 @@ void *srealloc(void *oldptr, long newsize)
char *sstrdup(const char *s)
{
- char *t = strdup(s);
+ char *t = anopeStrDup(s);
if (!t)
#if !defined(USE_THREADS) || !defined(LINUX20)
raise(SIGUSR1);