mdssvc: fix check if search connection state is gone
commit1150d121b7f6588de1aa37eac810c19dbfc07a71
authorRalph Boehme <slow@samba.org>
Fri, 19 Nov 2021 12:11:20 +0000 (19 13:11 +0100)
committerNoel Power <npower@samba.org>
Wed, 3 Aug 2022 13:00:36 +0000 (3 13:00 +0000)
tree9b9681595109bf487700b7798442251df13553c8
parent9b0e61ff75db0d875da81ada6d2333b01985d264
mdssvc: fix check if search connection state is gone

This was dead code: before this patchset noone set s->mds_es_ctx->mds_ctx to
NULL. A previous commit changed that so now the mds_es_ctx destructor sets
s->mds_es_ctx to NULL if a search "s" was currently in-flight.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/rpc_server/mdssvc/mdssvc_es.c