mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	Fix leak
This commit is contained in:
		@@ -138,7 +138,7 @@ auto Language::init_layouts_map(const std::vector<std::string>& used_layouts) ->
 | 
			
		||||
 | 
			
		||||
    layouts_map_.emplace(layout->full_name, *layout);
 | 
			
		||||
  }
 | 
			
		||||
	//delete xkb_context_;
 | 
			
		||||
	delete xkb_context_;
 | 
			
		||||
 | 
			
		||||
  if (is_variant_displayed || found_by_short_names.size() == 0) {
 | 
			
		||||
    return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user