mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
fixed a crash bug in smbpasswd
(the user can come from optarg, so we can't free it) (This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6)
This commit is contained in:
parent
a8ab984078
commit
7fb8d5a00b
@ -543,7 +543,6 @@ static int process_nonroot(int argc, char *argv[])
|
|||||||
done:
|
done:
|
||||||
safe_free(old_passwd);
|
safe_free(old_passwd);
|
||||||
safe_free(new_passwd);
|
safe_free(new_passwd);
|
||||||
safe_free(user_name);
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user