mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	xwayland: free server in error path
This commit is contained in:
		
							parent
							
								
									d9bb792794
								
							
						
					
					
						commit
						1ae2d976c0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -89,7 +89,7 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, | |||
| 	}; | ||||
| 	xwayland->server = wlr_xwayland_server_create(wl_display, &options); | ||||
| 	if (xwayland->server == NULL) { | ||||
| 		free(xwayland->server); | ||||
| 		free(xwayland); | ||||
| 		return NULL; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antonin Décimo
						Antonin Décimo