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

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

parent 0b328f33
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,9 @@ flexran_agent_async_channel_t * flexran_agent_async_channel_info(mid_t mod_id, c
error:
LOG_I(FLEXRAN_AGENT, "%s(): there was an error\n", __func__);
if (channel){
free(channel);
}
return NULL;
}
......
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