From a143b6d5d8e2646a7daedc2a13f2b964b89dd0ac Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 19 Oct 2010 09:49:15 -0700 Subject: st/xorg: Fix memory leak on error path. --- src/gallium/state_trackers/xorg/xorg_exa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 0e5693dc78..4b1c02bad4 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -1057,6 +1057,7 @@ xorg_exa_init(ScrnInfoPtr pScrn, Bool accel) out_err: xorg_exa_close(pScrn); + free(exa); return NULL; } -- cgit v1.2.3