Skip to content
Snippets Groups Projects
Commit 20406a70 authored by DONG Anyuan's avatar DONG Anyuan
Browse files

Fix Coverity Scan CID 340268 (Passing freed pointer pdu_mem_pP as an argument...

Fix Coverity Scan CID 340268 (Passing freed pointer pdu_mem_pP as an argument to rlc_um_store_pdu_in_dar_buffer.)
parent 62b5911b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment