mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Remove some unnecessary checks before free().
This commit is contained in:
		@@ -133,7 +133,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
				    strerror(errno));
 | 
			
		||||
				return (CMD_RETURN_ERROR);
 | 
			
		||||
			}
 | 
			
		||||
		} else if (cp != NULL)
 | 
			
		||||
		} else
 | 
			
		||||
			free(cp);
 | 
			
		||||
		cwd = fd;
 | 
			
		||||
	} else if (c != NULL && c->session == NULL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user