st/xorg: Fix memory leak on error path.
This commit is contained in:
parent
ec2824cd86
commit
a143b6d5d8
|
@ -1057,6 +1057,7 @@ xorg_exa_init(ScrnInfoPtr pScrn, Bool accel)
|
||||||
|
|
||||||
out_err:
|
out_err:
|
||||||
xorg_exa_close(pScrn);
|
xorg_exa_close(pScrn);
|
||||||
|
free(exa);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue