Re: [Intel-gfx] [PATCH][next] drm/i915/selftests: fix memory leak of 'spin'

2019-02-19 Thread Chris Wilson
Quoting Colin King (2019-02-19 15:01:29) > From: Colin Ian King > > There is a memory leak of 'spin' on an error return path. Fix this by > kfree'ing spin before the return. > > Fixes: c06ee6ff2cbc ("drm/i915/selftests: Context SSEU reconfiguration tests") > Signed-off-by: Colin Ian King I

[Intel-gfx] [PATCH][next] drm/i915/selftests: fix memory leak of 'spin'

2019-02-19 Thread Colin King
From: Colin Ian King There is a memory leak of 'spin' on an error return path. Fix this by kfree'ing spin before the return. Fixes: c06ee6ff2cbc ("drm/i915/selftests: Context SSEU reconfiguration tests") Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/selftests/i915_gem_context.c | 4