mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
Fix memory leak. Thanks, Herb!
Volker (This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)
This commit is contained in:
parent
3cbb089782
commit
173856a77d
@ -365,6 +365,7 @@ static int new_machine (struct pdb_context *in, const char *machine_in)
|
||||
passwd_free(&pwd);
|
||||
return -1;
|
||||
}
|
||||
passwd_free(&pwd);
|
||||
} else {
|
||||
if (!NT_STATUS_IS_OK(pdb_init_sam (&sam_pwent))) {
|
||||
fprintf(stderr, "Could not init sam from pw\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user