mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>
Use FreeResource instead of deleteCompOverlayClient()
This commit is contained in:
parent
94e7213d59
commit
dc43909219
2 changed files with 7 additions and 1 deletions
|
|
@ -501,7 +501,8 @@ ProcCompositeReleaseOverlayWindow (ClientPtr client)
|
|||
return BadMatch;
|
||||
}
|
||||
|
||||
deleteCompOverlayClient(pOc, pOc->pScreen);
|
||||
/* The delete function will free the client structure */
|
||||
FreeResource (pOc->resource, 0);
|
||||
|
||||
cs = GetCompScreen(pScreen);
|
||||
if (cs->pOverlayClients == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue