From: Baptiste DURAND Date: Wed, 5 Nov 2014 09:10:40 +0000 (+0100) Subject: Fix file descriptor leak around the reception of APP_DEAD_SIGNAL X-Git-Tag: accepted/tizen/common/20141107.085048^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71316f75c3e3a0110c2bf6bc9051aceb315df9a9;p=platform%2Fcore%2Fappfw%2Faul-1.git Fix file descriptor leak around the reception of APP_DEAD_SIGNAL BUG-Tizen=TC-1835 Signed-off-by: Baptiste DURAND Change-Id: I69e5ab5fc24f7c321d5c92d3de4f8a2c7a8be45f --- diff --git a/am_daemon/amd_request.c b/am_daemon/amd_request.c index 2eeb23f..a33f829 100755 --- a/am_daemon/amd_request.c +++ b/am_daemon/amd_request.c @@ -394,6 +394,7 @@ static gboolean __request_handler(gpointer data) kb = bundle_decode(pkt->data, pkt->len); ret=__handle_dead_signal(kb,clifd,&cr); + close(clifd); break; default: _E("no support packet");