git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3e38f
)
pam: Fix CID 1034871 Resource leak
author
Volker Lendecke
<vl@samba.org>
Tue, 3 Mar 2015 15:12:03 +0000
(16:12 +0100)
committer
Ralph Böhme
<slow@samba.org>
Tue, 3 Mar 2015 19:03:25 +0000
(20:03 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Mar 3 20:03:25 CET 2015 on sn-devel-104
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index c6467c76d8df5fd2b38ca7926d2f386673749dcc..1e1674137f2827a096ae918b7475e2c9fa7308b3 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-2470,6
+2470,7
@@
static char* winbind_upn_to_username(struct pwb_context *ctx,
result = talloc_asprintf(ctx, "%s%c%s", domain, sep, name);
wbcFreeMemory(domain);
+ wbcFreeMemory(name);
return result;
}