[PATCH] drivers/gpu/drm/radeon/radeon_cs.c: eliminate possible double free

2012-03-19 Thread Jerome Glisse
On Sat, Mar 17, 2012 at 1:03 PM, Julia Lawall wrote: > From: Julia Lawall > > The function radeon_cs_parser_init is only called from two places, in > drivers/gpu/drm/radeon/radeon_cs.c and drivers/gpu/drm/radeon/r600_cs.c. > In each case, if the call fails another function is called that frees al

Re: [PATCH] drivers/gpu/drm/radeon/radeon_cs.c: eliminate possible double free

2012-03-19 Thread Jerome Glisse
On Sat, Mar 17, 2012 at 1:03 PM, Julia Lawall wrote: > From: Julia Lawall > > The function radeon_cs_parser_init is only called from two places, in > drivers/gpu/drm/radeon/radeon_cs.c and drivers/gpu/drm/radeon/r600_cs.c. > In each case, if the call fails another function is called that frees al

[PATCH] drivers/gpu/drm/radeon/radeon_cs.c: eliminate possible double free

2012-03-18 Thread Julia Lawall
From: Julia Lawall The function radeon_cs_parser_init is only called from two places, in drivers/gpu/drm/radeon/radeon_cs.c and drivers/gpu/drm/radeon/r600_cs.c. In each case, if the call fails another function is called that frees all of the kdata and dpage information in the chunks array. So t

[PATCH] drivers/gpu/drm/radeon/radeon_cs.c: eliminate possible double free

2012-03-17 Thread Julia Lawall
From: Julia Lawall The function radeon_cs_parser_init is only called from two places, in drivers/gpu/drm/radeon/radeon_cs.c and drivers/gpu/drm/radeon/r600_cs.c. In each case, if the call fails another function is called that frees all of the kdata and dpage information in the chunks array. So t