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

Fix Coverity Scan CID 300465 (Variable header going out of scope leaks the storage it points to.)

parent c91bfb22
No related branches found
No related tags found
No related merge requests found
...@@ -521,6 +521,9 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re ...@@ -521,6 +521,9 @@ int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *re
error : error :
LOG_E(FLEXRAN_AGENT, "errno %d occured\n", err_code); LOG_E(FLEXRAN_AGENT, "errno %d occured\n", err_code);
if (header){
free(header);
}
return err_code; return err_code;
} }
......
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