From 71316f75c3e3a0110c2bf6bc9051aceb315df9a9 Mon Sep 17 00:00:00 2001 From: Baptiste DURAND Date: Wed, 5 Nov 2014 10:10:40 +0100 Subject: [PATCH] Fix file descriptor leak around the reception of APP_DEAD_SIGNAL BUG-Tizen=TC-1835 Signed-off-by: Baptiste DURAND Change-Id: I69e5ab5fc24f7c321d5c92d3de4f8a2c7a8be45f --- am_daemon/amd_request.c | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.7.4