summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-06-24 20:48:07 +0300
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-30 09:17:06 +0200
commit2821abee1f85c5d9a191a9880808b7022ac2e0b1 (patch)
treeae4f07651a94183b5599fea5c89459a37af4e6bd /source4
parent32b8b401d6de27caa02a258fd540a208c486d1d6 (diff)
downloadsamba-2821abee1f85c5d9a191a9880808b7022ac2e0b1.tar.gz
samba-2821abee1f85c5d9a191a9880808b7022ac2e0b1.tar.bz2
samba-2821abee1f85c5d9a191a9880808b7022ac2e0b1.zip
s4:auth/session.c - free "group_string" when not needed
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/session.c b/source4/auth/session.c
index 29ba13e536..1be98742df 100644
--- a/source4/auth/session.c
+++ b/source4/auth/session.c
@@ -178,7 +178,7 @@ _PUBLIC_ NTSTATUS auth_generate_session_info(TALLOC_CTX *mem_ctx,
group_dn = talloc_asprintf(tmp_ctx, "<SID=%s>", group_string);
NT_STATUS_HAVE_NO_MEMORY_AND_FREE(group_dn, server_info);
-
+ talloc_free(group_string);
group_blob = data_blob_string_const(group_dn);
/* This function takes in memberOf values and expands