Fix web TCT failed 54/48054/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.145733 accepted/tizen/tv/20150911.145743 accepted/tizen/wearable/20150911.145754 submit/tizen/20150911.125345 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
authorJi Yong Min <jiyong.min@samsung.com>
Fri, 11 Sep 2015 12:43:16 +0000 (21:43 +0900)
committerJi Yong Min <jiyong.min@samsung.com>
Fri, 11 Sep 2015 12:44:27 +0000 (21:44 +0900)
- Remove list alloc, it has security issue

Change-Id: I41f1b7ba60966d684759e6aae8d7a7edef02769c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
svc/media_controller_svc.c

index fa6e758..0c7dcef 100755 (executable)
@@ -240,14 +240,6 @@ gboolean mc_svc_thread(void *data)
                return FALSE;
        }
 
-       /* Create list for command*/
-       mc_svc_data->mc_svc_list = g_list_alloc();
-       if (mc_svc_data->mc_svc_list == NULL) {
-               mc_error("Failed to allocate list");
-               close(sockfd);
-               return FALSE;
-       }
-
        context = g_main_context_new();
        if (context == NULL) {
                mc_error("g_main_context_new failed");