egl/dri2: Fix const pointer duplication, prevent unitialized variable dereference.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 12 May 2011 14:23:02 +0000 (15:23 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 12 May 2011 14:23:02 +0000 (15:23 +0100)
commit6c26072bd151ee7abc897aad63cd55ec5f15762e
treee78eec86ed55205e484a9f29ea7a49a84fd73d3e
parent6a661895e946f38b21775bf9cb45ef6b22fab85a
egl/dri2: Fix const pointer duplication, prevent unitialized variable dereference.

Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
src/egl/drivers/dri2/platform_drm.c