diff options
Diffstat (limited to 'xorg-server/dix/selection.c')
-rw-r--r-- | xorg-server/dix/selection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xorg-server/dix/selection.c b/xorg-server/dix/selection.c index 8763a2d5a..428408f8e 100644 --- a/xorg-server/dix/selection.c +++ b/xorg-server/dix/selection.c @@ -94,8 +94,7 @@ InitSelections(void) pSel = CurrentSelections;
while (pSel) {
pNextSel = pSel->next;
- dixFreePrivates(pSel->devPrivates);
- free(pSel);
+ dixFreeObjectWithPrivates(pSel, PRIVATE_SELECTION);
pSel = pNextSel;
}
|