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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user