[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:57:06 +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.
Ah, the file handles are leaked because you dropped the
vnc_display_close() call. Don't do that then ...
cheers,
Gerd