]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb: Use talloc_get_type_abort()
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 28 May 2024 02:24:51 +0000 (14:24 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Jun 2024 19:49:36 +0000 (19:49 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/operational.c

index f27eedef0d359ddac677a5f047cc21a213d26ba0..eac9182256f57f2f71473b4ad9414cdffd230092 100644 (file)
@@ -1580,7 +1580,7 @@ static int operational_callback(struct ldb_request *req, struct ldb_reply *ares)
        struct operational_context *ac;
        int ret;
 
-       ac = talloc_get_type(req->context, struct operational_context);
+       ac = talloc_get_type_abort(req->context, struct operational_context);
 
        if (!ares) {
                return ldb_module_done(ac->req, NULL, NULL,