From caa3b8fe001e5459c7656bd9a96e15cd6fb074a6 Mon Sep 17 00:00:00 2001 From: "pavel.uhanov" <pavel.uhanov@demlabs.net> Date: Wed, 27 Nov 2024 13:24:06 +0300 Subject: [PATCH] ... --- net/stream/ch/dap_stream_ch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/stream/ch/dap_stream_ch.c b/net/stream/ch/dap_stream_ch.c index fa1d2e3e3..a0f4a07e1 100644 --- a/net/stream/ch/dap_stream_ch.c +++ b/net/stream/ch/dap_stream_ch.c @@ -182,6 +182,8 @@ dap_stm_ch_rec_t *l_rec = NULL; if ( !l_rec ) log_it(L_ERROR, "dap_stream_ch_t:%p - no record found!", a_stm_ch); else { + dap_list_free_full(a_stm_ch->packet_in_notifiers, NULL); + dap_list_free_full(a_stm_ch->packet_out_notifiers, NULL); DAP_DEL_MULTY(l_rec->stm_ch, l_rec); debug_if(g_debug_reactor, L_NOTICE, "dap_stream_ch_t:%p - is released", a_stm_ch); } -- GitLab