mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Fix use-after-free.
This commit is contained in:
parent
ef18b7d637
commit
ad1541913f
@ -1,4 +1,4 @@
|
||||
/* $Id: window-scroll.c,v 1.3 2007-11-21 14:39:46 nicm Exp $ */
|
||||
/* $Id: window-scroll.c,v 1.4 2007-11-21 14:57:08 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -97,7 +97,7 @@ window_scroll_key(struct window *w, int key)
|
||||
|
||||
recalculate_sizes();
|
||||
server_redraw_window_all(w);
|
||||
break;
|
||||
return;
|
||||
case 'k':
|
||||
case 'K':
|
||||
case KEYC_UP:
|
||||
|
Loading…
Reference in New Issue
Block a user