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

Use FreeResource instead of deleteCompOverlayClient()
parent 94e7213d
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:
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment