mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xdg-activation-v1: fix wlr_xdg_activation_v1_create error path
This commit is contained in:
		
							parent
							
								
									f6e680ef94
								
							
						
					
					
						commit
						103edde481
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -339,7 +339,7 @@ struct wlr_xdg_activation_v1 *wlr_xdg_activation_v1_create(
 | 
				
			||||||
		&xdg_activation_v1_interface, XDG_ACTIVATION_V1_VERSION, activation,
 | 
							&xdg_activation_v1_interface, XDG_ACTIVATION_V1_VERSION, activation,
 | 
				
			||||||
		activation_bind);
 | 
							activation_bind);
 | 
				
			||||||
	if (activation->global == NULL) {
 | 
						if (activation->global == NULL) {
 | 
				
			||||||
		free(activation->global);
 | 
							free(activation);
 | 
				
			||||||
		return NULL;
 | 
							return NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue