diff options
author | Ji Yong Min <jiyong.min@samsung.com> | 2015-09-11 21:43:16 +0900 |
---|---|---|
committer | Ji Yong Min <jiyong.min@samsung.com> | 2015-09-11 21:44:27 +0900 |
commit | cec086ed5856b854f09c504b3c4bd26c1a151af5 (patch) | |
tree | 5a9bd8e44af6815e032cc42e2362254d8fe2e154 | |
parent | 7813845b28e0f6ad74155310bcfce218b459a2c7 (diff) | |
download | media-controller-tizen_3.0.m1_mobile.tar.gz media-controller-tizen_3.0.m1_mobile.tar.bz2 media-controller-tizen_3.0.m1_mobile.zip |
Fix web TCT failedtizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150911.125345accepted/tizen/wearable/20150911.145754accepted/tizen/tv/20150911.145743accepted/tizen/mobile/20150911.145733tizen_3.0.m1_tvtizen_3.0.m1_mobile
- Remove list alloc, it has security issue
Change-Id: I41f1b7ba60966d684759e6aae8d7a7edef02769c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rwxr-xr-x | svc/media_controller_svc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/svc/media_controller_svc.c b/svc/media_controller_svc.c index fa6e758..0c7dcef 100755 --- a/svc/media_controller_svc.c +++ b/svc/media_controller_svc.c @@ -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"); |