From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXRH8-0003WX-Pe for qemu-devel@nongnu.org; Thu, 03 Sep 2015 05:57:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXRH3-0007E2-RA for qemu-devel@nongnu.org; Thu, 03 Sep 2015 05:57:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXRH3-0007Ds-Lo for qemu-devel@nongnu.org; Thu, 03 Sep 2015 05:57:41 -0400 Message-ID: <1441274259.557.22.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 03 Sep 2015 11:57:39 +0200 In-Reply-To: <1440670734-5616-5-git-send-email-pl@kamp.de> References: <1440670734-5616-1-git-send-email-pl@kamp.de> <1440670734-5616-5-git-send-email-pl@kamp.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] vnc: destroy server surface if no client is connected List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-devel@nongnu.org On Do, 2015-08-27 at 12:18 +0200, Peter Lieven wrote: > if no client is connected there is no need to keep the server > surface. Throw it away and replace it with a dummy surface to > save memory. No dummy surface please. Just set vd->server = NULL. cheers, Gerd