mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Destroy screens properly.
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: window.c,v 1.14 2007-09-29 14:25:49 nicm Exp $ */
 | 
			
		||||
/* $Id: window.c,v 1.15 2007-10-01 14:15:48 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -178,6 +178,8 @@ window_destroy(struct window *w)
 | 
			
		||||
 | 
			
		||||
	input_free(&w->ictx);
 | 
			
		||||
 | 
			
		||||
	screen_destroy(&w->screen);
 | 
			
		||||
 | 
			
		||||
	buffer_destroy(w->in);
 | 
			
		||||
	buffer_destroy(w->out);
 | 
			
		||||
	xfree(w);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user