randr: free crtc->outputs on destroy
Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
This commit is contained in:
		
							parent
							
								
									16381d186e
								
							
						
					
					
						commit
						fc7fb5bbe1
					
				| 
						 | 
				
			
			@ -878,6 +878,7 @@ RRCrtcDestroyResource(void *value, XID pid)
 | 
			
		|||
    free(crtc->gammaRed);
 | 
			
		||||
    if (crtc->mode)
 | 
			
		||||
        RRModeDestroy(crtc->mode);
 | 
			
		||||
    free(crtc->outputs);
 | 
			
		||||
    free(crtc);
 | 
			
		||||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue