s3:auth_samba4: make use of imessaging_init_discard_incoming()
commit32df5e4961cf064b72bb496157cc6092126d9b8e
authorStefan Metzmacher <metze@samba.org>
Wed, 28 Sep 2022 12:14:41 +0000 (28 14:14 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 13 Oct 2022 12:30:37 +0000 (13 12:30 +0000)
tree0c447844adf6acaf7212a73257dc56c596ffdb5d
parenta120fb1c724dfaed5a99e34aaf979502586f17c0
s3:auth_samba4: make use of imessaging_init_discard_incoming()

Otherwise we'll generate a memory leak of imessaging_post_state/
tevent_immediate structures per incoming message!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15201

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/auth/auth_samba4.c