drm/radeon/kms: fix memory leak
authorJiri Slaby <jslaby@suse.cz>
Wed, 6 Jan 2010 16:39:31 +0000 (17:39 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jan 2010 03:38:59 +0000 (13:38 +1000)
commit5eb226132f53d5ec36ce4e7ff9d6b49cceb50f3d
tree585e5208417c896a87c8ad8febb51b45acfe4c11
parent1d3d51b6d2d6fb51c6c30a8c7ed0fd939f6100bf
drm/radeon/kms: fix memory leak

Stanse found a memory leak in radeon_master_create. master_priv is not
freed/assigned on all paths. Fix that.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cp.c