From 7fb8d5a00bf0e13f5198c3f1cdae1343d636bdd0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 21 Feb 2001 04:13:47 +0000 Subject: fixed a crash bug in smbpasswd (the user can come from optarg, so we can't free it) (This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6) --- source3/utils/smbpasswd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3') 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; } -- cgit