]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix for env_data
authorAlan T. DeKok <aland@freeradius.org>
Sat, 11 Mar 2023 13:53:02 +0000 (08:53 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 11 Mar 2023 13:53:02 +0000 (08:53 -0500)
src/modules/rlm_lua/rlm_lua.c

index 75efecc63427921d61d55b4fa617cb56bbbf5c5f..1ce22bf19c7990cc2cc9417aa353236250b4f7d8 100644 (file)
@@ -119,7 +119,7 @@ static int mod_detach(module_detach_ctx_t const *mctx)
                                              &(rlm_lua_thread_t){
                                                        .interpreter = inst->interpreter
                                              },
-                                             NULL),
+                                             NULL, NULL),
                                   NULL, inst->func_detach);
                }
                lua_close(inst->interpreter);
@@ -148,7 +148,7 @@ static int mod_instantiate(module_inst_ctx_t const *mctx)
                                      &(rlm_lua_thread_t){
                                                .interpreter = inst->interpreter
                                      },
-                                     NULL),
+                                     NULL, NULL),
                           NULL, inst->func_instantiate);
        }