drivers/gpu/drm/savage/savage_state.c: add missing kfree
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 17 Mar 2012 17:57:02 +0000 (18:57 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Mar 2012 08:45:31 +0000 (08:45 +0000)
commitf10487658a0e5fd793ee5ba7ad645c060e4afbcd
tree1679201437b50a964a8445c50a00c6009e756579
parentf48bb04a56fd1f582a45f3882255477417bc0ed7
drivers/gpu/drm/savage/savage_state.c: add missing kfree

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 <Julia.Lawall@lip6.fr>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/savage/savage_state.c