mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	And another memory leak.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: cmd-command-prompt.c,v 1.15 2009-02-16 18:57:16 nicm Exp $ */
 | 
			
		||||
/* $Id: cmd-command-prompt.c,v 1.16 2009-02-16 18:58:14 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -170,6 +170,7 @@ cmd_command_prompt_callback(void *data, const char *s)
 | 
			
		||||
	ctx.cmdclient = NULL;
 | 
			
		||||
 | 
			
		||||
	cmd_list_exec(cmdlist, &ctx);
 | 
			
		||||
	cmd_list_free(cmdlist);
 | 
			
		||||
 | 
			
		||||
	if (c->prompt_callback != (void *) &cmd_command_prompt_callback)
 | 
			
		||||
		return (1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user