dri_glx: fix use after free report
authorBrian Paul <brianp@vmware.com>
Mon, 11 Feb 2013 18:57:34 +0000 (11:57 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 17:46:40 +0000 (18:46 +0100)
commit5fdc42fb877644ae4c3343c9391f959bc7d71515
treeb0d34f654c3fdb9b1b5ce9b84b5e83a148a6f9dc
parent527b3b8555f695d5b349d00eb1e63208b797bf2c
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>
(cherry picked from commit a0ec9185eb90568ab57170dc682de0ba0c9e5e62)

Conflicts:

src/glx/dri_glx.c
src/glx/dri_glx.c