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:
		
							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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue