st/dri: Fix memory leak on error path.
authorVinson Lee <vlee@vmware.com>
Sun, 6 Nov 2011 05:19:31 +0000 (22:19 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 8 Nov 2011 04:36:07 +0000 (20:36 -0800)
commitf4515d106cd40351133c89855e3277a70bba8721
tree0e66054ce9c2bee970070e4e6591b79c166d2e88
parent5c02e2e2de75b9d18ca25b4f1cba38c4a89c5bd0
st/dri: Fix memory leak on error path.

Fixes Coverity resource leak defect.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/dri/drm/dri2.c