1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

fixed a crash bug in smbpasswd

(the user can come from optarg, so we can't free it)
This commit is contained in:
Andrew Tridgell
-
parent 4d59c08c5e
commit 56ffb58eff

View File

@ -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;
}