mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	desktop/layer_shell: Fix allocation type mismatch
This commit is contained in:
		
							parent
							
								
									4d43f1dd99
								
							
						
					
					
						commit
						f8c6fc1944
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -429,7 +429,7 @@ static struct sway_layer_subsurface *create_subsurface(
 | 
				
			||||||
		struct wlr_subsurface *wlr_subsurface,
 | 
							struct wlr_subsurface *wlr_subsurface,
 | 
				
			||||||
		struct sway_layer_surface *layer_surface) {
 | 
							struct sway_layer_surface *layer_surface) {
 | 
				
			||||||
	struct sway_layer_subsurface *subsurface =
 | 
						struct sway_layer_subsurface *subsurface =
 | 
				
			||||||
			calloc(1, sizeof(struct sway_layer_surface));
 | 
								calloc(1, sizeof(struct sway_layer_subsurface));
 | 
				
			||||||
	if (subsurface == NULL) {
 | 
						if (subsurface == NULL) {
 | 
				
			||||||
		return NULL;
 | 
							return NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue