Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>

Use FreeResource instead of deleteCompOverlayClient()
This commit is contained in:
Søren Sandmann Pedersen 2006-04-07 17:49:32 +00:00
parent 94e7213d59
commit dc43909219
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>
* composite/compext.c (ProcCompositeReleaseOverlayWindow): Use
FreeResource instead of deleteCompOverlayClient()
2006-04-07 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/common/xisb.c:

View File

@ -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) {