mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not use window mode entry after free.
This commit is contained in:
		@@ -997,11 +997,12 @@ window_copy_command(struct window_mode_entry *wme, struct client *c,
 | 
			
		||||
		data->searchx = data->searchy = -1;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	wme->prefix = 1;
 | 
			
		||||
 | 
			
		||||
	if (cancel)
 | 
			
		||||
		window_pane_reset_mode(wp);
 | 
			
		||||
	else if (redraw)
 | 
			
		||||
		window_copy_redraw_screen(wme);
 | 
			
		||||
	wme->prefix = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user