]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
no longer any need to call init.
authorAlan T. DeKok <aland@freeradius.org>
Sun, 4 Feb 2024 15:27:51 +0000 (10:27 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 4 Feb 2024 15:27:51 +0000 (10:27 -0500)
Missed in commit f7778c55206db

src/protocols/dns/decode.c

index a3f39c8d5f60569e3e9f07984618f422b5da7c8d..0a0635c80841af57d5aadbe29f319fba630e75a1 100644 (file)
@@ -376,8 +376,6 @@ static int decode_test_ctx(void **out, TALLOC_CTX *ctx)
 {
        fr_dns_ctx_t *test_ctx;
 
-       if (fr_dns_global_init() < 0) return -1;
-
        test_ctx = talloc_zero(ctx, fr_dns_ctx_t);
 
        test_ctx->tmp_ctx = talloc(test_ctx, uint8_t);