From 228cd54bb637dbad232475d8d97b29a8a8ab3e7e Mon Sep 17 00:00:00 2001 Message-Id: <228cd54bb637dbad232475d8d97b29a8a8ab3e7e.1367947969.git.minovotn@redhat.com> In-Reply-To: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> References: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> From: Michal Novotny Date: Tue, 7 May 2013 18:37:17 +0200 Subject: [PATCH 028/114] Revert "qemu-ga: Plug fd leak on ga_channel_listen_accept() error path" This reverts commit 05453e1fd2e9f319472c38ccfcd504795b7c0b0b. Reverting as asked by Laszlo in message <51892739.2030807@redhat.com> because of the ordering issue (most likely) related to supersed testing. Signed-off-by: Michal Novotny --- qga/channel-posix.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qga/channel-posix.c b/qga/channel-posix.c index 2a1fe03..52f880d 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -46,7 +46,6 @@ static gboolean ga_channel_listen_accept(GIOChannel *channel, ret = ga_channel_client_add(c, client_fd); if (ret) { g_warning("error setting up connection"); - close(client_fd); goto out; } accepted = true; -- 1.7.11.7