st/xorg: Fix memory leak on error path.

This commit is contained in:
Vinson Lee 2010-10-19 09:49:15 -07:00
parent ec2824cd86
commit a143b6d5d8
1 changed files with 1 additions and 0 deletions

View File

@ -1057,6 +1057,7 @@ xorg_exa_init(ScrnInfoPtr pScrn, Bool accel)
out_err:
xorg_exa_close(pScrn);
free(exa);
return NULL;
}