[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <161130777297.28599.8771475730453120887@build.alporthouse.com>
Date: Fri, 22 Jan 2021 09:29:32 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Andi Shyti <andi.shyti@...el.com>, Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Matthew Auld <matthew.auld@...el.com>,
Mika Kuoppala <mika.kuoppala@...ux.intel.com>,
Pan Bian <bianpan2016@....com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>
Cc: intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, Pan Bian <bianpan2016@....com>
Subject: Re: [PATCH] drm/i915/selftest: Fix potential memory leak
Quoting Pan Bian (2021-01-22 01:56:40)
> Object out is not released on path that no VMA instance found. The root
> cause is jumping to an unexpected label on the error path.
Wouldn't the root cause be whatever caused the allocation to fail?
Language notwithstanding,
Reviewed-by: Chris Wilson <chris@...is-wilson.co.uk>
-Chris
Powered by blists - more mailing lists