mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	wayland-shm: Add return before we hit the error clean-up path
Regression in c94c0946db
			
			
This commit is contained in:
		
							parent
							
								
									dba322c1c0
								
							
						
					
					
						commit
						b4aff6b79f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -221,6 +221,8 @@ shm_create_pool(struct wl_client *client, struct wl_resource *resource,
 | 
			
		|||
 | 
			
		||||
	wl_client_add_resource(client, &pool->resource);
 | 
			
		||||
 | 
			
		||||
	return;
 | 
			
		||||
 | 
			
		||||
err_close:
 | 
			
		||||
	close(fd);
 | 
			
		||||
err_free:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue