mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.
This commit is contained in:
		@@ -97,6 +97,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
			cmd = args->argv[1];
 | 
			
		||||
		else if (args->argc == 3)
 | 
			
		||||
			cmd = args->argv[2];
 | 
			
		||||
		free(shellcmd);
 | 
			
		||||
		if (cmd == NULL)
 | 
			
		||||
			return (CMD_RETURN_NORMAL);
 | 
			
		||||
		if (cmd_string_parse(cmd, &cmdlist, NULL, 0, &cause) != 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user