[PATCH] drivers/gpu/drm/savage/savage_state.c: add missing kfree

2012-03-18 Thread Julia Lawall
From: Julia Lawall Most of the error handling code in this function frees the buffers kcmd_addr, kvb_addr, and kbox_addr allocated at the beginning of this function. These two branches are changed to do the same. Signed-off-by: Julia Lawall --- drivers/gpu/drm/savage/savage_state.c |5 ++

[PATCH] drivers/gpu/drm/savage/savage_state.c: add missing kfree

2012-03-17 Thread Julia Lawall
From: Julia Lawall Most of the error handling code in this function frees the buffers kcmd_addr, kvb_addr, and kbox_addr allocated at the beginning of this function. These two branches are changed to do the same. Signed-off-by: Julia Lawall --- drivers/gpu/drm/savage/savage_state.c |5 ++