diff options
author | Volker Lendecke <vl@samba.org> | 2015-03-03 16:12:03 +0100 |
---|---|---|
committer | Ralph Böhme <slow@samba.org> | 2015-03-03 20:03:25 +0100 |
commit | 6b898481afc7f2d20ca679632b516359e7afaf6a (patch) | |
tree | 64bf6b32dfbe8df5d2dc6c5274ee2ff507acb936 /nsswitch/pam_winbind.c | |
parent | ad3e38f6bb65fdf16cc792b97333a74d49f345bf (diff) | |
download | samba-6b898481afc7f2d20ca679632b516359e7afaf6a.tar.gz |
pam: Fix CID 1034871 Resource leak
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
Diffstat (limited to 'nsswitch/pam_winbind.c')
-rw-r--r-- | nsswitch/pam_winbind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index c6467c76d8d..1e1674137f2 100644 --- 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; } |