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

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

parent 3c1f80f4
No related branches found
No related tags found
No related merge requests found
...@@ -1214,6 +1214,10 @@ int flexran_agent_mac_create_empty_ul_config(mid_t mod_id, Protocol__FlexranMess ...@@ -1214,6 +1214,10 @@ int flexran_agent_mac_create_empty_ul_config(mid_t mod_id, Protocol__FlexranMess
return 0; return 0;
error: error:
if(header){
free(header);
header = NULL;
}
return -1; return -1;
} }
......
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