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
|
@ -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>
|
2006-04-07 Adam Jackson <ajax@freedesktop.org>
|
||||||
|
|
||||||
* hw/xfree86/common/xisb.c:
|
* hw/xfree86/common/xisb.c:
|
||||||
|
|
|
@ -501,7 +501,8 @@ ProcCompositeReleaseOverlayWindow (ClientPtr client)
|
||||||
return BadMatch;
|
return BadMatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteCompOverlayClient(pOc, pOc->pScreen);
|
/* The delete function will free the client structure */
|
||||||
|
FreeResource (pOc->resource, 0);
|
||||||
|
|
||||||
cs = GetCompScreen(pScreen);
|
cs = GetCompScreen(pScreen);
|
||||||
if (cs->pOverlayClients == NULL) {
|
if (cs->pOverlayClients == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue