]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
"init" parameter isn't in LST alloc functions yet (#4195)
authorJames Jones <jejones3141@gmail.com>
Wed, 18 Aug 2021 22:12:30 +0000 (17:12 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Aug 2021 22:12:30 +0000 (17:12 -0500)
src/lib/util/event.c

index fa82b8608f10c84bb6d2d02dd2714440cf6a14e1..7c7a31f307a73958da19653f627188af0b87af9a 100644 (file)
@@ -2292,7 +2292,7 @@ fr_event_list_t *fr_event_list_alloc(TALLOC_CTX *ctx, fr_event_status_cb_t statu
        }
 
 #ifdef LOCAL_PID
-       el->pids = fr_lst_talloc_alloc(el, fr_event_pid_cmp, fr_event_pid_t, lst_id, 0);
+       el->pids = fr_lst_talloc_alloc(el, fr_event_pid_cmp, fr_event_pid_t, lst_id);
        if (!el->pids) {
                fr_strerror_const("Failed allocating PID lst");
                goto error;