From 8d91e07ef22ad3ed484b04bc4968380a24940696 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 16 Dec 2004 12:30:49 +0000 Subject: r4231: commiting changes to 3.0.10 --- source/lib/util_pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/lib/util_pw.c') diff --git a/source/lib/util_pw.c b/source/lib/util_pw.c index 9d075a05e88..8db41e8b8be 100644 --- a/source/lib/util_pw.c +++ b/source/lib/util_pw.c @@ -24,7 +24,7 @@ static struct passwd *alloc_copy_passwd(const struct passwd *from) { - struct passwd *ret = smb_xmalloc(sizeof(struct passwd)); + struct passwd *ret = SMB_XMALLOC_P(struct passwd); ZERO_STRUCTP(ret); ret->pw_name = smb_xstrdup(from->pw_name); ret->pw_passwd = smb_xstrdup(from->pw_passwd); -- cgit v1.2.1