Commit 8fcce371 authored by Dong Anyuan's avatar Dong Anyuan

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

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