git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbb089
)
Fix memory leak. Thanks, Herb!
author
Volker Lendecke
<vlendec@samba.org>
Tue, 7 Jan 2003 20:54:31 +0000
(20:54 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Tue, 7 Jan 2003 20:54:31 +0000
(20:54 +0000)
Volker
(This used to be commit
8915d59a5939b78a177dcd3e075a122e68e8c64a
)
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index 8aec35ac39239be15cff49d17f1bf639dae9d12d..cd4cdfddb461ba6f03ed689119e0fb0f4331e853 100644
(file)
--- 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");