summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-02-21 04:13:47 +0000
committerAndrew Tridgell <tridge@samba.org>2001-02-21 04:13:47 +0000
commit7fb8d5a00bf0e13f5198c3f1cdae1343d636bdd0 (patch)
treec10d2a62184e1e36bdbfd167a974adf64d482488 /source3/utils
parenta8ab9840786b8376283743de8eef861d382b3171 (diff)
downloadsamba-7fb8d5a00bf0e13f5198c3f1cdae1343d636bdd0.tar.gz
samba-7fb8d5a00bf0e13f5198c3f1cdae1343d636bdd0.tar.bz2
samba-7fb8d5a00bf0e13f5198c3f1cdae1343d636bdd0.zip
fixed a crash bug in smbpasswd
(the user can come from optarg, so we can't free it) (This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbpasswd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index cb86669728..d20760bee1 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/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;
}