summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-10-19 09:49:15 -0700
committerVinson Lee <[email protected]>2010-10-19 09:49:15 -0700
commita143b6d5d8e2646a7daedc2a13f2b964b89dd0ac (patch)
treebc654fa3918346e87d6f46274889e88c4e525aa2
parentec2824cd867d3b782588be1f3b1d5d802eb381ab (diff)
st/xorg: Fix memory leak on error path.
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.c1
1 files changed, 1 insertions, 0 deletions
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;
}