mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Conflicts:
Makefile
This commit is contained in:
		@@ -122,7 +122,9 @@ session_create(const char *name, int argc, char **argv, const char *path,
 | 
			
		||||
	s->environ = environ_create();
 | 
			
		||||
	if (env != NULL)
 | 
			
		||||
		environ_copy(env, s->environ);
 | 
			
		||||
 | 
			
		||||
	s->options = options_create(global_s_options);
 | 
			
		||||
	s->hooks = hooks_create(global_hooks);
 | 
			
		||||
 | 
			
		||||
	s->tio = NULL;
 | 
			
		||||
	if (tio != NULL) {
 | 
			
		||||
@@ -188,7 +190,9 @@ session_free(__unused int fd, __unused short events, void *arg)
 | 
			
		||||
 | 
			
		||||
	if (s->references == 0) {
 | 
			
		||||
		environ_free(s->environ);
 | 
			
		||||
 | 
			
		||||
		options_free(s->options);
 | 
			
		||||
		hooks_free(s->hooks);
 | 
			
		||||
 | 
			
		||||
		free(s->name);
 | 
			
		||||
		free(s);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user