Commit 835eaa42 authored by Jeremy Allison's avatar Jeremy Allison Committed by Gerald (Jerry) Carter
Browse files

r538: Mem leak fix from kawasa_r@itg.hitachi.co.jp

Jeremy.
(This used to be commit 4cbcd164147d25286fe8dd460c6123e961c4f657)
parent 7b258d28
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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. */