mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Plug a memory leak, from J Raynor.
This commit is contained in:
		@@ -200,6 +200,8 @@ cmd_find_window_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
	window_choose_ready(wl->window->active, 0, cmd_find_window_callback);
 | 
			
		||||
 | 
			
		||||
out:
 | 
			
		||||
	for (i = 0; i < ARRAY_LENGTH(&find_list); i++)
 | 
			
		||||
		free(ARRAY_ITEM(&find_list, i).list_ctx);
 | 
			
		||||
	ARRAY_FREE(&find_list);
 | 
			
		||||
	return (CMD_RETURN_NORMAL);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user