From 3c5edab8f5b4eb91cddfadca699feb101f4ea240 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 6 Jun 2024 07:27:30 +0200 Subject: [PATCH] Fix memory leak: free NotifiedFIFO_elt --- executables/nr-ru.c | 1 + 1 file changed, 1 insertion(+) diff --git a/executables/nr-ru.c b/executables/nr-ru.c index 8d87dd6018..991c59e110 100644 --- a/executables/nr-ru.c +++ b/executables/nr-ru.c @@ -1344,6 +1344,7 @@ void *ru_thread( void *param ) { rx_tti_busy[info->slot_rx % RU_RX_SLOT_DEPTH] = false; if ((info->slot_rx % RU_RX_SLOT_DEPTH) == (proc->tti_rx % RU_RX_SLOT_DEPTH)) not_done = false; + delNotifiedFIFO_elt(res); } if (!res) break;