mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend: drm: Fix dmabuf resource leak
This commit is contained in:
		
							parent
							
								
									3c13527ead
								
							
						
					
					
						commit
						a6a5a19356
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -180,6 +180,8 @@ static struct wlr_texture *get_tex_for_bo(struct wlr_drm_renderer *renderer,
 | 
				
			||||||
		gbm_bo_set_user_data(bo, tex, free_tex);
 | 
							gbm_bo_set_user_data(bo, tex, free_tex);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						wlr_dmabuf_attributes_finish(&attribs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return tex;
 | 
						return tex;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue