From c0d46796d435174ff71ede9175097fc01546d69f Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 19 Nov 2021 08:27:34 +0100 Subject: [PATCH] mdssvc: update a comment BUG: https://bugzilla.samba.org/show_bug.cgi?id=14915 Signed-off-by: Ralph Boehme Reviewed-by: Noel Power --- source3/rpc_server/mdssvc/mdssvc_es.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/rpc_server/mdssvc/mdssvc_es.c b/source3/rpc_server/mdssvc/mdssvc_es.c index 6bffec17a0b..a7a13f70c7b 100644 --- a/source3/rpc_server/mdssvc/mdssvc_es.c +++ b/source3/rpc_server/mdssvc/mdssvc_es.c @@ -451,9 +451,8 @@ static void mds_es_search_done(struct tevent_req *subreq) if (slq == NULL) { /* - * Closed by the user. This is the only place where we free "s" - * explicitly because the talloc parent slq is already gone. - * Everywhere else we rely on the destructor of slq to free "s". + * Closed by the user. Explicitly free "s" here because the + * talloc parent slq is already gone. */ TALLOC_FREE(s); goto trigger; -- 2.47.3