mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 14:08:17 +00:00 
			
		
		
		
	config: also free the XDG buffer
This commit is contained in:
		
							parent
							
								
									52748f7b9f
								
							
						
					
					
						commit
						a891841850
					
				@ -513,6 +513,7 @@ int git_repository_config__weakptr(git_config **out, git_repository *repo)
 | 
			
		||||
		res = load_config(&repo->_config, repo, global_config_path, xdg_config_path, system_config_path);
 | 
			
		||||
 | 
			
		||||
		git_buf_free(&global_buf);
 | 
			
		||||
		git_buf_free(&xdg_buf);
 | 
			
		||||
		git_buf_free(&system_buf);
 | 
			
		||||
 | 
			
		||||
		if (res < 0)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user