build error fix 78/245378/1
authorhj kim <backto.kim@samsung.com>
Thu, 8 Oct 2020 03:02:11 +0000 (12:02 +0900)
committerhj kim <backto.kim@samsung.com>
Thu, 8 Oct 2020 03:02:11 +0000 (12:02 +0900)
Change-Id: I1fd9828fa2eb75911e3ab817aa5218bd26544dca

svc/media_controller_svc.c

index ded7fd34b72b3661e6e8e4badf9d82525f9fc251..b0a2822a3a5b580a341efb609b49ba5192fe2d1b 100644 (file)
@@ -668,14 +668,14 @@ static gboolean __mc_read_service_request_tcp_socket(GIOChannel *src, GIOConditi
        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;
        }