diff options
author | Gerald Carter <jerry@samba.org> | 2004-12-16 12:30:49 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-12-16 12:30:49 +0000 |
commit | 8d91e07ef22ad3ed484b04bc4968380a24940696 (patch) | |
tree | b5b8989f8da9ef7f852081f0460995386edd4b5d /source/utils/pdbedit.c | |
parent | 1a878c865637feb80206c0dc599acebf7f4a46bd (diff) | |
download | samba-8d91e07ef22ad3ed484b04bc4968380a24940696.tar.gz samba-8d91e07ef22ad3ed484b04bc4968380a24940696.tar.xz samba-8d91e07ef22ad3ed484b04bc4968380a24940696.zip |
r4231: commiting changes to 3.0.10samba-3.0.10
Diffstat (limited to 'source/utils/pdbedit.c')
-rw-r--r-- | source/utils/pdbedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/pdbedit.c b/source/utils/pdbedit.c index 1eb6a135c51..2e8d0d6d96f 100644 --- a/source/utils/pdbedit.c +++ b/source/utils/pdbedit.c @@ -429,10 +429,10 @@ static int new_user (struct pdb_context *in, const char *username, } staticpass = getpass("new password:"); - password1 = strdup(staticpass); + password1 = SMB_STRDUP(staticpass); memset(staticpass, 0, strlen(staticpass)); staticpass = getpass("retype new password:"); - password2 = strdup(staticpass); + password2 = SMB_STRDUP(staticpass); memset(staticpass, 0, strlen(staticpass)); if (strcmp (password1, password2)) { fprintf (stderr, "Passwords does not match!\n"); |