Commit d3cba113 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 340209 (Variable message_p going out of scope leaks the...

Fix Coverity Scan CID 340209 (Variable message_p going out of scope leaks the storage it points to.)
parent 5348e4c8
......@@ -248,6 +248,7 @@ int CU_handle_F1_SETUP_REQUEST(instance_t instance,
itti_send_msg_to_task(TASK_RRC_ENB, ENB_MODULE_ID_TO_INSTANCE(instance), message_p);
} else {
CU_send_F1_SETUP_FAILURE(instance);
itti_free(TASK_RRC_ENB,message_p);
return -1;
}
return 0;
......
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