diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-01-07 20:55:43 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-01-07 20:55:43 +0000 |
commit | d034ba5ce18fb7f62060a6eab7b3563c5ff7b859 (patch) | |
tree | 526b595f249836f5bbe4229c286141bde8d8b0ea /source3/utils | |
parent | b59dc9ee58f2a496aa82b52ae6e89abbb44648de (diff) | |
download | samba-d034ba5ce18fb7f62060a6eab7b3563c5ff7b859.tar.gz samba-d034ba5ce18fb7f62060a6eab7b3563c5ff7b859.tar.bz2 samba-d034ba5ce18fb7f62060a6eab7b3563c5ff7b859.zip |
Fix memory leak. Thanks, Herb!
Volker
(This used to be commit 434e496289ac21e516b22d91c4f52c0a6674214f)
Diffstat (limited to 'source3/utils')
-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 60022d007d..09493f9a89 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"); |