Commit bd3e60b3 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 21734 (Variable Sparams going out of scope leaks the storage it points to.)

parent 5a044ed2
......@@ -3422,6 +3422,9 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
size,
buffer,
PDCP_TRANSMISSION_MODE_CONTROL);
free(Sparams);
Sparams = NULL;
}
//-----------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment