st/dri: Fix a memory leak in dri1_init_screen.
authorChia-I Wu <olv@lunarg.com>
Tue, 30 Mar 2010 07:41:31 +0000 (15:41 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 30 Mar 2010 07:41:50 +0000 (15:41 +0800)
commitaa1a79036003c2aeaae24877da66e9b46a059cad
treedeb3c7de47f328ec003bee68cf7f9dedbeff90ab
parentf6f5cba9a66afea3f500e3be1c15e7b18d88e265
st/dri: Fix a memory leak in dri1_init_screen.

Free the returned configs upon errors.
src/gallium/state_trackers/dri/drm/dri1.c