diff --git a/openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c b/openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c index a0569b7f00d4f8c456b6c3840dbe7a193dc9d064..f37626ae4c51f8b4a3c17db863b7c53e9abf8136 100644 --- a/openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c +++ b/openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c @@ -1038,6 +1038,8 @@ rlc_um_receive_process_dar ( sn = pdu_pP->b1 & 0x1F; } else { free_mem_block(pdu_mem_pP, __func__); + pdu_mem_pP = NULL; + return; } RLC_UM_MUTEX_LOCK(&rlc_pP->lock_dar_buffer, ctxt_pP, rlc_pP);