Fix svace issue of PASSED_TO_PROC_AFTER_RELEASE 41/303141/1 accepted/tizen/unified/20231221.165329 accepted/tizen/unified/riscv/20231226.211318
authorYoungHun Kim <yh8004.kim@samsung.com>
Wed, 20 Dec 2023 08:13:35 +0000 (17:13 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Wed, 20 Dec 2023 08:13:37 +0000 (17:13 +0900)
Change-Id: I24952080e6c800d393d257a06369bef528a671e5

packaging/mused.spec
server/src/muse_server_private.c

index 29803dd..22f0c79 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mused
 Summary:    A multimedia daemon
-Version:    0.3.179
+Version:    0.3.180
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 808c491..88bd5e8 100644 (file)
@@ -324,10 +324,8 @@ static gboolean _ms_connection_handler(GIOChannel *source, GIOCondition conditio
        LOGI("server : %d client [%s channel] : %d", server_sockfd, channel_name[channel], client_sockfd);
 
        pid = _ms_get_pid(client_sockfd);
-       if (pid == -1) {
-               close(client_sockfd);
+       if (pid == -1)
                goto out;
-       }
 
        if (channel == MUSE_CHANNEL_MSG) {
                m = g_new0(muse_module_t, 1);