From: Karol Pawlowski Date: Mon, 23 Sep 2013 06:14:35 +0000 (+0200) Subject: Fix Prevent issue X-Git-Tag: accepted/tizen/20131002.083908~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8902e9bc4040c836ca13789fae4e9937285f5bae;p=platform%2Fframework%2Fweb%2Fwrt.git Fix Prevent issue [Issue#] CID: 13633 [Problem] Static analysis fails [Cause] N/A [Solution] Refactored error__refuse_dummy_process method [Verification] Build wrt repository. Launch widget with wrt-client -l and wrt-launcher -s Change-Id: I13445890810f98c372488aae0e62b97920f3d94b --- diff --git a/src/wrt-launchpad-daemon/src/process_pool.c b/src/wrt-launchpad-daemon/src/process_pool.c index 170ea68..7c18e42 100644 --- a/src/wrt-launchpad-daemon/src/process_pool.c +++ b/src/wrt-launchpad-daemon/src/process_pool.c @@ -242,15 +242,7 @@ void __refuse_dummy_process(int server_fd) close(client_fd); _D("refuse connection!"); - return; - err__refuse_dummy_process: - - if (client_fd != -1) - { - close(client_fd); - } - return; }