]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
mdssvc: update a comment
authorRalph Boehme <slow@samba.org>
Fri, 19 Nov 2021 07:27:34 +0000 (08:27 +0100)
committerNoel Power <npower@samba.org>
Wed, 3 Aug 2022 13:00:36 +0000 (13:00 +0000)
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

index 6bffec17a0b9040f172caefe359d3e34c55bc6a6..a7a13f70c7be5c05c81a532f47a24ad8ea7d0b0a 100644 (file)
@@ -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;