git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a3afb
)
s3: Fix a memleak in make_new_server_info_system()
author
Volker Lendecke
<vl@samba.org>
Sat, 25 Sep 2010 21:47:42 +0000
(14:47 -0700)
committer
Volker Lendecke
<vl@samba.org>
Sat, 25 Sep 2010 23:12:37 +0000
(
01:12
+0200)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index 287d9632a99cda4ba782f4235b292f6af1828149..94adc3c7fc242a68e93457bbe4122ea3e446e5fa 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-761,6
+761,7
@@
static NTSTATUS make_new_server_info_system(TALLOC_CTX *mem_ctx,
pwd->pw_name,
false,
server_info);
+ TALLOC_FREE(pwd);
if (!NT_STATUS_IS_OK(status)) {
return status;
}