mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: free FocusPrivates when deleting a window. #16493
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> X.Org Bug 16493 <http://bugs.freedesktop.org/show_bug.cgi?id=16493>
This commit is contained in:
committed by
Peter Hutterer
parent
32a7bbbba6
commit
a4cb25f8c8
@@ -978,6 +978,7 @@ DeleteWindow(pointer value, XID wid)
|
||||
if (pWin->prevSib)
|
||||
pWin->prevSib->nextSib = pWin->nextSib;
|
||||
}
|
||||
xfree(dixLookupPrivate(&pWin->devPrivates, FocusPrivatesKey));
|
||||
dixFreePrivates(pWin->devPrivates);
|
||||
xfree(pWin);
|
||||
return Success;
|
||||
|
||||
Reference in New Issue
Block a user