qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] char: do not double-close fd when failing to add client


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] char: do not double-close fd when failing to add client
Date: Tue, 7 Feb 2023 10:39:15 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 7/2/23 10:35, marcandre.lureau@redhat.com wrote:
From: Marc-André Lureau <marcandre.lureau@redhat.com>

The caller is already closing the fd on failure.

Fixes: c3054a6e6a ("char: Factor out qmp_add_client() parts and move to 
chardev/")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
  chardev/char.c | 2 --
  1 file changed, 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]