dri_glx: fix use after free report
authorDave Airlie <airlied@gmail.com>
Fri, 30 Nov 2012 07:47:47 +0000 (17:47 +1000)
committerDave Airlie <airlied@gmail.com>
Sat, 1 Dec 2012 01:20:36 +0000 (11:20 +1000)
commita0ec9185eb90568ab57170dc682de0ba0c9e5e62
treef92b4ccfb88615cb8300246087baf5b3642fefca
parenta47a0200a78ed8bddcf0c79b4b630e475e7357ca
dri_glx: fix use after free report

the critical error would use driverName.

Found by internal RH coverity scan.

Note: This is a candidate for stable branches.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glx/dri_glx.c