mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Remove remaining xfree calls from the portable version.
This commit is contained in:
		@@ -53,7 +53,7 @@ vasprintf(char **ret, const char *fmt, va_list ap)
 | 
			
		||||
 | 
			
		||||
	*ret = xmalloc(n + 1);
 | 
			
		||||
	if ((n = vsnprintf(*ret, n + 1, fmt, ap2)) < 0) {
 | 
			
		||||
		xfree(*ret);
 | 
			
		||||
		free(*ret);
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user