From a143b6d5d8e2646a7daedc2a13f2b964b89dd0ac Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 19 Oct 2010 09:49:15 -0700 Subject: [PATCH] st/xorg: Fix memory leak on error path. --- src/gallium/state_trackers/xorg/xorg_exa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 0e5693dc786..4b1c02bad42 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; } -- 2.30.2