drm/i915: Fix regression in 95ca9d
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Feb 2009 17:52:20 +0000 (17:52 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Feb 2009 00:06:30 +0000 (10:06 +1000)
The object is dereferenced before the NULL check. Oops.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20235

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found