r600/drm: fix segfaults in winsys create failure path
authorKeith Whitwell <keithw@vmware.com>
Thu, 14 Oct 2010 15:42:38 +0000 (16:42 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 22:33:00 +0000 (08:33 +1000)
commitcbf2fb55432b8239ea9792338ee1d2fea89648ea
tree47e4084012bfd91f8e2de849125461109d022e27
parent4bab22bca36696a7a1ed6ea3de9b993ffd181f30
r600/drm: fix segfaults in winsys create failure path

Would try to destroy radeon->cman, radeon->kman both which were still
NULL.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/r600_drm.c