[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vnc: fix fd leak at vnc_display_open()
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] vnc: fix fd leak at vnc_display_open() |
Date: |
Thu, 23 Oct 2014 09:52:40 +0200 |
On Do, 2014-10-23 at 14:33 +0800, address@hidden wrote:
> From: Gonglei <address@hidden>
>
> When using qmp change vnc interface, will leak fd
> of vs->lsock and vs->lwebsock (if configed). Close
> them before: re-evaluate.
I think we can do that before "if (reverse)", then we'll need the code
only once.
cheers,
Gerd