summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-01-13 22:28:37 +0100
committerDave Airlie <airlied@redhat.com>2010-01-14 12:17:56 +1000
commit50ec3b7c35fda131e92abc6f9d93a230b7e009eb (patch)
tree3fb8bbe2794bfb76f56549d070ed53f806f3bf94 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
parentdf1c93bae2b671e2aa50899a120af20afdbd504b (diff)
drm/vmwgfx: Fix an error path causing an oops.
An error happening before the snooper.image member had been set up would cause a kfree of an arbitrary pointer. Set up the snooper.image member early. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
0 files changed, 0 insertions, 0 deletions