From: James Jones Date: Wed, 18 Aug 2021 22:12:30 +0000 (-0500) Subject: "init" parameter isn't in LST alloc functions yet (#4195) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f35f1c801731bb4231cb6c7cc568032519aa22;p=thirdparty%2Ffreeradius-server.git "init" parameter isn't in LST alloc functions yet (#4195) --- diff --git a/src/lib/util/event.c b/src/lib/util/event.c index fa82b8608f1..7c7a31f307a 100644 --- a/src/lib/util/event.c +++ b/src/lib/util/event.c @@ -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;