diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/pdbedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 8aec35ac39..cd4cdfddb4 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -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"); |