diff options
author | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2006-04-07 17:49:32 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2006-04-07 17:49:32 +0000 |
commit | dc43909219fe2a4d03139638814b89032b2921b9 (patch) | |
tree | 9c5a40981d67b5dba9631f204e914f8814b9528e /composite/compext.c | |
parent | 94e7213d594dbbb53a6bb05d1dab7514c4ff5350 (diff) |
Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>
Use FreeResource instead of deleteCompOverlayClient()
Diffstat (limited to 'composite/compext.c')
-rw-r--r-- | composite/compext.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composite/compext.c b/composite/compext.c index cc9b665f7..a7ad4e2fd 100644 --- a/composite/compext.c +++ b/composite/compext.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) { |