From 54fdd5c7dc98e9039d94bc6b45ee31cb1d363eac Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 16 Dec 2004 21:12:29 +0000 Subject: r4236: More *alloc fixes. Jeremy. (This used to be commit 6b25a6e088390d33314ca69c8f17c869cec3904b) --- source3/auth/pampass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth') 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. -- cgit