auth3: Remove unnecessary talloc_unlink() calls
authorVolker Lendecke <vl@samba.org>
Wed, 14 Apr 2021 18:37:39 +0000 (20:37 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Apr 2021 18:18:32 +0000 (18:18 +0000)
commit1f4f6a4305cc2d5d0b05bd8d1c77b589803093ef
tree5baafeefc53fb6b2570e318100b00a76219630fe
parenta20c4b183d71b6e965221b59704c57df36ab8b1a
auth3: Remove unnecessary talloc_unlink() calls

The structures we unlinked have been talloc_reference()ed in gensec
and thus don't need the second talloc parent anymore. But this
talloc_unlink isn't necessary because tmp_ctx is free()ed a few lines
down.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/auth/auth_generic.c