Fix static analysis
[platform/core/appfw/message-port.git] / src / message_port_remote.c
index 17d61c6..a872890 100644 (file)
@@ -818,6 +818,7 @@ static void __close_socket(GDBusMethodInvocation *invocation)
                returned_fds = g_unix_fd_list_steal_fds(fd_list, &fd_len);
                if (returned_fds != NULL) {
                        close(returned_fds[0]);
+                       g_free(returned_fds);
                }
        }
 }