mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r538: Mem leak fix from kawasa_r@itg.hitachi.co.jp
Jeremy. (This used to be commit 4cbcd164147d25286fe8dd460c6123e961c4f657)
This commit is contained in:
parent
7b258d284f
commit
835eaa42ca
@ -94,6 +94,8 @@ static BOOL winbindd_fill_pwent(char *dom_name, char *user_name,
|
||||
safe_strcpy(pw->pw_shell, shell,
|
||||
sizeof(pw->pw_shell) - 1);
|
||||
|
||||
SAFE_FREE(shell);
|
||||
|
||||
/* Password - set to "x" as we can't generate anything useful here.
|
||||
Authentication can be done using the pam_winbind module. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user