From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzQ7C-00076O-7a for qemu-devel@nongnu.org; Fri, 12 Dec 2014 08:18:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzQ77-0005ei-7A for qemu-devel@nongnu.org; Fri, 12 Dec 2014 08:18:38 -0500 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:47960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzQ77-0005ec-0F for qemu-devel@nongnu.org; Fri, 12 Dec 2014 08:18:33 -0500 Received: by mail-wi0-f174.google.com with SMTP id h11so2450634wiw.13 for ; Fri, 12 Dec 2014 05:18:32 -0800 (PST) Date: Fri, 12 Dec 2014 13:18:29 +0000 From: Stefan Hajnoczi Message-ID: <20141212131829.GB8409@stefanha-thinkpad.redhat.com> References: <1417674851-6248-1-git-send-email-arei.gonglei@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <1417674851-6248-1-git-send-email-arei.gonglei@huawei.com> Subject: Re: [Qemu-devel] [PATCH] block/rbd: fix memory leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: arei.gonglei@huawei.com Cc: kwolf@redhat.com, josh.durgin@inktank.com, qemu-devel@nongnu.org, stefanha@redhat.com, Markus Armbruster --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 04, 2014 at 02:34:11PM +0800, arei.gonglei@huawei.com wrote: > From: Gonglei >=20 > Variable local_err going out of scope > leaks the storage it points to. >=20 > Cc: Markus Armbruster > Signed-off-by: Gonglei > --- > block/rbd.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next Stefan --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUiuslAAoJEJykq7OBq3PI2nQH/1MhgNVKv+zZSgWsBj7sPSqO KoNpyaaq9y1WuvtpCXIKYAHl8ywP1dNjiFDcbkBVUUg0bS5tL5oGV6Bz3IobW8Vh 3O5el+8E1EslzpXJHgbEgOCZWfw2LfuB+OndQazFuSKOfs/KdF8guWuXH68ocuXw OcF6LN6NXEVj46mOhRfQ+ZKDjZdrraBGYAuPWMgT/9BzZoOr6CqLA743Ji30frVT Ty12ngmQpEGdUoJBhbBCZh99YBdz3QACJIII4EfXkYa2wY5hLUKhDrkfpONaDYDd qehOIyzGMagMk0NPWH8NRAo+QG2NrIYzqTPjsLPJYPIgKbwDvLhja3xZShGfRro= =Na6K -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--