]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Temporary fix
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 14 May 2024 04:13:34 +0000 (22:13 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 14 May 2024 04:13:34 +0000 (22:13 -0600)
src/listen/detail/proto_detail.c

index cbef9ff4eaf09afa7cbd3105f5f1827607413b1d..6de5f743c58ccf2e42f1cfb54271b2717f41b61d 100644 (file)
@@ -436,7 +436,7 @@ static int mod_open(void *instance, fr_schedule_t *sc, CONF_SECTION *conf)
         *      path, data takes from the socket to the decoder and
         *      back again.
         */
-       MEM(li = talloc_zero(NULL, fr_listen_t));       /* Assigned thread steals the memory */
+       MEM(li = talloc_zero(inst, fr_listen_t));       /* Assigned thread steals the memory */
        talloc_set_destructor(li, fr_io_listen_free);
 
        li->app_io = inst->app_io;