1
0
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:
Volker Lendecke 2003-01-07 20:54:31 +00:00
parent 3cbb089782
commit 173856a77d

View File

@ -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");