[PATCH 01/14] drm/i915/gvt: fix a memory leak in intel_gvt_init_vgpu_types
Jason Gunthorpe
jgg at nvidia.com
Mon Jul 4 14:08:42 UTC 2022
On Mon, Jul 04, 2022 at 02:51:31PM +0200, Christoph Hellwig wrote:
> gvt->types needs to be freed on error.
>
> Reported-by: Kevin Tian <kevin.tian at intel.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Kevin Tian <kevin.tian at intel.com>
> Reviewed-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
> drivers/gpu/drm/i915/gvt/vgpu.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Fixes line?
Jason
More information about the intel-gvt-dev
mailing list