git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a44be6
)
s4-auth: use TALLOC_FREE() shortcut
author
Björn Baumbach
<bb@sernet.de>
Tue, 4 Sep 2018 12:45:05 +0000
(14:45 +0200)
committer
Björn Baumbach
<bb@sernet.de>
Thu, 11 Oct 2018 08:28:17 +0000
(10:28 +0200)
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/auth/system_session.c
patch
|
blob
|
history
diff --git
a/source4/auth/system_session.c
b/source4/auth/system_session.c
index 03c26a8021756abf40d4623cd33196933ff819a5..b03a55f2cab287831b7343b259ecb2e8d30fabd3 100644
(file)
--- a/
source4/auth/system_session.c
+++ b/
source4/auth/system_session.c
@@
-62,8
+62,7
@@
_PUBLIC_ struct auth_session_info *system_session(struct loadparm_context *lp_ct
lp_ctx,
&static_session);
if (!NT_STATUS_IS_OK(nt_status)) {
- talloc_free(static_session);
- static_session = NULL;
+ TALLOC_FREE(static_session);
return NULL;
}
talloc_set_destructor(static_session, system_session_destructor);