[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181114121438.3s4ehqahnqibrn2e@sirius.home.kraxel.org>
Date: Wed, 14 Nov 2018 13:14:39 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: Colin King <colin.king@...onical.com>
Cc: David Airlie <airlied@...ux.ie>, dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][drm-next] drm/virtio: fix memory leak of vfpriv on error
return path
On Wed, Nov 07, 2018 at 08:31:22PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The allocation for vfpriv is being leaked on an error return path,
> fix this by kfree'ing it before returning.
>
> Detected by CoverityScan, CID#1475380 ("Resource Leak")
Patches added to qemu queue, should land in drm-misc-next soon.
thanks,
Gerd
Powered by blists - more mailing lists