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

Fix Coverity Scan CID 300476 (Variable dl_mac_config_msg going out of scope...

Fix Coverity Scan CID 300476 (Variable dl_mac_config_msg going out of scope leaks the storage it points to.)
parent 5e000215
No related branches found
No related tags found
No related merge requests found
......@@ -1088,6 +1088,7 @@ int flexran_agent_mac_create_empty_dl_config(mid_t mod_id, Protocol__FlexranMess
*msg = malloc(sizeof(Protocol__FlexranMessage));
if(*msg == NULL) {
free(dl_mac_config_msg);
free(header);
goto error;
}
......
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