summaryrefslogtreecommitdiff
path: root/source3/auth/pampass.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-12-16 21:12:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:39 -0500
commit54fdd5c7dc98e9039d94bc6b45ee31cb1d363eac (patch)
tree3e777cddfa2c8a2da0540ff010d02d63c9894631 /source3/auth/pampass.c
parent46f0e330f1e455e3338a7e7a3b7a287df752fe1a (diff)
downloadsamba-54fdd5c7dc98e9039d94bc6b45ee31cb1d363eac.tar.gz
samba-54fdd5c7dc98e9039d94bc6b45ee31cb1d363eac.tar.bz2
samba-54fdd5c7dc98e9039d94bc6b45ee31cb1d363eac.zip
r4236: More *alloc fixes.
Jeremy. (This used to be commit 6b25a6e088390d33314ca69c8f17c869cec3904b)
Diffstat (limited to 'source3/auth/pampass.c')
-rw-r--r--source3/auth/pampass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 68871547b1..68c2f183f1 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -59,7 +59,7 @@ typedef int (*smb_pam_conv_fn)(int, const struct pam_message **, struct pam_resp
/*
* Macros to help make life easy
*/
-#define COPY_STRING(s) (s) ? strdup(s) : NULL
+#define COPY_STRING(s) (s) ? SMB_STRDUP(s) : NULL
/*******************************************************************
PAM error handler.