From 418678bf251aac42a07c19f98933425c8c1045dc Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 17 Jul 2015 14:43:37 +0900 Subject: [PATCH] Set to NULL when create tcp socket. Change-Id: Ic152a8aaa78a5be49a760cd690e5fb6cd1f913ee Signed-off-by: Minje Ahn --- lib/media-util-ipc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/media-util-ipc.c b/lib/media-util-ipc.c index ce233b6..b97402b 100755 --- a/lib/media-util-ipc.c +++ b/lib/media-util-ipc.c @@ -137,6 +137,7 @@ int ms_ipc_create_client_socket(ms_protocol_e protocol, int timeout_sec, ms_sock MSAPI_DBG_STRERROR("socket failed"); return MS_MEDIA_ERR_SOCKET_CONN; } + sock_info->sock_path = NULL; } if (timeout_sec > 0) { -- 2.7.4