summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-07-18 05:08:31 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-07-18 05:08:31 +0930
commitaa2e02e6846c4fa8199ebafbe6b9e050df8af16b (patch)
treef3654545d4d9ed1c839f75d27ca2ba9db58a0a2a
parentf3001e808c3b1ea35358f41154360709642cf282 (diff)
downloadsamba-aa2e02e6846c4fa8199ebafbe6b9e050df8af16b.tar.gz
samba-aa2e02e6846c4fa8199ebafbe6b9e050df8af16b.tar.bz2
samba-aa2e02e6846c4fa8199ebafbe6b9e050df8af16b.zip
source3/winbindd/winbindd_pam.c: fix stackframe leak
check_info3_in_group() doesn't always free its stackframe. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--source3/winbindd/winbindd_pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 216e1ffc33..96956d071e 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -271,6 +271,7 @@ static NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
if (!group_sid || !group_sid[0]) {
/* NO sid supplied, all users may access */
+ TALLOC_FREE(frame);
return NT_STATUS_OK;
}