From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzNhK-0005UY-Kg for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:52:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzNhH-0008Sk-Js for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:52:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59718) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzNhH-0008SI-F1 for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:52:47 -0400 Message-ID: <1477486363.18984.55.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 26 Oct 2016 14:52:43 +0200 In-Reply-To: <57df486e.8379240a.c3620.ff81@mx.google.com> References: <57df486e.8379240a.c3620.ff81@mx.google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in virtio_gpu_resource_create_2d List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Li Qiang Cc: qemu-devel@nongnu.org, Li Qiang On So, 2016-09-18 at 19:07 -0700, Li Qiang wrote: > From: Li Qiang >=20 > In virtio gpu resource create dispatch, if the pixman format is zero > it doesn't free the resource object allocated previously. Thus leading > a host memory leak issue. This patch avoid this. >=20 > Signed-off-by: Li Qiang Added to vga queue. thanks, Gerd