Re: [PATCH] drm/radeon/radeon_cp.c: fix resource leak on error

2010-01-06 Thread Dave Airlie
On Wed, Dec 30, 2009 at 11:25 AM, Darren Jenkins darrenrjenk...@gmail.com wrote: If drm_addmap() fails master_priv is leaked. I got a patch from Roel Kluin to fix this already, will push it out soon. Dave. -- This

[PATCH] drm/radeon/radeon_cp.c: fix resource leak on error

2009-12-29 Thread Darren Jenkins
If drm_addmap() fails master_priv is leaked. Coverity CID: 13195 Signed-off-by: Darren Jenkins darrenrjenk...@gmail.com diff --git drivers/gpu/drm/radeon/radeon_cp.c drivers/gpu/drm/radeon/radeon_cp.c index 0b2f9c2..06123ba 100644 --- drivers/gpu/drm/radeon/radeon_cp.c +++