mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	render/vulkan: free render format setups on destroy
(cherry picked from commit 073c3e8837)
			
			
This commit is contained in:
		
							parent
							
								
									cdc63d9983
								
							
						
					
					
						commit
						e8cf5b1c2a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -190,6 +190,8 @@ static void destroy_render_format_setup(struct wlr_vk_renderer *renderer,
 | 
				
			||||||
		vkDestroyPipeline(dev, pipeline->vk, NULL);
 | 
							vkDestroyPipeline(dev, pipeline->vk, NULL);
 | 
				
			||||||
		free(pipeline);
 | 
							free(pipeline);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						free(setup);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void shared_buffer_destroy(struct wlr_vk_renderer *r,
 | 
					static void shared_buffer_destroy(struct wlr_vk_renderer *r,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue