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>
return;
}
- if (state->s->mds_es_ctx->mds_ctx == NULL) {
+ if (state->s->mds_es_ctx == NULL) {
tevent_req_error(req, ECANCELED);
return;
}
tevent_req_done(req);
return;
}
- if (s->mds_es_ctx->mds_ctx == NULL) {
+ if (s->mds_es_ctx == NULL) {
tevent_req_error(req, ECANCELED);
return;
}