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

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 c65e3d2e
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
......
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