mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Fix DRM problem introduced in 901c14c
				
					
				
			This commit is contained in:
		
							parent
							
								
									beb84940cf
								
							
						
					
					
						commit
						e7fa4f12e1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -782,7 +782,7 @@ void wlr_drm_scan_connectors(struct wlr_drm_backend *backend) {
 | 
			
		|||
					mode->wlr_mode.width, mode->wlr_mode.height,
 | 
			
		||||
					mode->wlr_mode.refresh);
 | 
			
		||||
 | 
			
		||||
				if (list_add(backend->outputs, output) == -1) {
 | 
			
		||||
				if (list_add(output->output.modes, mode) == -1) {
 | 
			
		||||
					wlr_log_errno(L_ERROR, "Allocation failed");
 | 
			
		||||
					free(mode);
 | 
			
		||||
					continue;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue