Re: [Intel-gfx] [PATCH] drm/i915: Fix memory leaks in function live_nop_switch

2023-05-08 Thread Rodrigo Vivi
On Mon, May 08, 2023 at 04:50:15PM +0800, Cong Liu wrote: > Be sure to properly free the allocated memory before exiting > the live_nop_switch function. > > Signed-off-by: Cong Liu > --- > drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 4 +++- > 1 file changed, 3 insertions(+), 1

[Intel-gfx] [PATCH] drm/i915: Fix memory leaks in function live_nop_switch

2023-05-08 Thread Cong Liu
Be sure to properly free the allocated memory before exiting the live_nop_switch function. Signed-off-by: Cong Liu --- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git