mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend/drm: fix NULL pointer deference due to typo
This commit is contained in:
		
							parent
							
								
									1f96f388e9
								
							
						
					
					
						commit
						5cca72958a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -116,7 +116,7 @@ void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	output->model = strdup(model_str);
 | 
						output->model = strdup(model_str);
 | 
				
			||||||
	if (output->serial[0] != '\0') {
 | 
						if (serial_str[0] != '\0') {
 | 
				
			||||||
		output->serial = strdup(serial_str);
 | 
							output->serial = strdup(serial_str);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue