Commit 06dd2eed authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 300370 (Variable reconf_param going out of scope leaks...

Fix Coverity Scan CID 300370 (Variable reconf_param going out of scope leaks the storage it points to.)
parent de1709ec
...@@ -818,6 +818,8 @@ int flexran_agent_rrc_measurement(mid_t mod_id, const void *params, Protocol__Fl ...@@ -818,6 +818,8 @@ int flexran_agent_rrc_measurement(mid_t mod_id, const void *params, Protocol__Fl
flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(&ctxt, ue_context_p, 0, reconf_param); flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(&ctxt, ue_context_p, 0, reconf_param);
} }
*msg = NULL; *msg = NULL;
free(reconf_param);
reconf_param = NULL;
return 0; return 0;
} }
......
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