summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Yong Min <jiyong.min@samsung.com>2015-09-11 21:43:16 +0900
committerJi Yong Min <jiyong.min@samsung.com>2015-09-11 21:44:27 +0900
commitcec086ed5856b854f09c504b3c4bd26c1a151af5 (patch)
tree5a9bd8e44af6815e032cc42e2362254d8fe2e154
parent7813845b28e0f6ad74155310bcfce218b459a2c7 (diff)
downloadmedia-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
- Remove list alloc, it has security issue Change-Id: I41f1b7ba60966d684759e6aae8d7a7edef02769c Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rwxr-xr-xsvc/media_controller_svc.c8
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");