Change-Id: I1fd9828fa2eb75911e3ab817aa5218bd26544dca
req = (mc_service_request *) calloc(1, sizeof(mc_service_request));
if (req == NULL) {
mc_error("memory allocation is failed");
- send_msg = MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY;
+ msg = MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY;
goto ERROR;
}
req->req_msg = (mc_comm_msg_s *) calloc(1, sizeof(mc_comm_msg_s));
if (req->req_msg == NULL) {
mc_error("memory allocation is failed");
- send_msg = MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY;
+ msg = MEDIA_CONTROLLER_ERROR_OUT_OF_MEMORY;
goto ERROR;
}