egl/dri2: Fix memory leak.
authorVinson Lee <vlee@freedesktop.org>
Fri, 1 Feb 2013 07:41:14 +0000 (23:41 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 2 Feb 2013 06:50:34 +0000 (22:50 -0800)
commit080e91aa07aaf2cc3ebb98abcb77eda868167687
treeb37a26fbe6d4f4f483fddb5570d3d24031209753
parentcea341fce84a885643e615827a86de751849f8da
egl/dri2: Fix memory leak.

Fixes resource leak defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/egl/drivers/dri2/egl_dri2.c