Fix Coverity Scan CID 340245 (Variable Sparams going out of scope leaks the storage it points to.)
This commit is contained in:
@@ -5399,6 +5399,9 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
|
|||||||
|
|
||||||
free(securityConfigHO);
|
free(securityConfigHO);
|
||||||
securityConfigHO = NULL;
|
securityConfigHO = NULL;
|
||||||
|
|
||||||
|
free(Sparams);
|
||||||
|
Sparams = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user