diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-02-21 04:13:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-02-21 04:13:47 +0000 |
commit | 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6 (patch) | |
tree | 7007576eadc1168579ac3af73ad0c82b73c3917b /source/utils | |
parent | 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9 (diff) | |
download | samba-56ffb58effe80f7c62a9de6ba4f634d995fbc4e6.tar.gz samba-56ffb58effe80f7c62a9de6ba4f634d995fbc4e6.tar.xz samba-56ffb58effe80f7c62a9de6ba4f634d995fbc4e6.zip |
fixed a crash bug in smbpasswd
(the user can come from optarg, so we can't free it)
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/smbpasswd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c index cb86669728d..d20760bee12 100644 --- a/source/utils/smbpasswd.c +++ b/source/utils/smbpasswd.c @@ -543,7 +543,6 @@ static int process_nonroot(int argc, char *argv[]) done: safe_free(old_passwd); safe_free(new_passwd); - safe_free(user_name); return result; } |