mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Sync OpenBSD patchset 947:
Fix a couple of memory leaks, from marcel partap.
This commit is contained in:
		@@ -170,6 +170,8 @@ server_client_lost(struct client *c)
 | 
			
		||||
	if (c->cwd != NULL)
 | 
			
		||||
		xfree(c->cwd);
 | 
			
		||||
 | 
			
		||||
	environ_free(&c->environ);
 | 
			
		||||
 | 
			
		||||
	close(c->ibuf.fd);
 | 
			
		||||
	imsg_clear(&c->ibuf);
 | 
			
		||||
	event_del(&c->event);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user