Fix Coverity Scan CID 21734 (Variable Sparams going out of scope leaks the storage it points to.)
This commit is contained in:
@@ -3422,6 +3422,9 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
|
||||
size,
|
||||
buffer,
|
||||
PDCP_TRANSMISSION_MODE_CONTROL);
|
||||
|
||||
free(Sparams);
|
||||
Sparams = NULL;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user