Commit 864e5df4 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 c65e3d2e
......@@ -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);
}
*msg = NULL;
free(reconf_param);
reconf_param = NULL;
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