mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clang/"null pointer dereference": win_rotate
This commit is contained in:
parent
b7f518cbfa
commit
3d3a54f455
@ -1300,6 +1300,7 @@ static void win_rotate(int upwards, int count)
|
||||
if (upwards) { /* first window becomes last window */
|
||||
/* remove first window/frame from the list */
|
||||
frp = curwin->w_frame->fr_parent->fr_child;
|
||||
assert(frp != NULL);
|
||||
wp1 = frp->fr_win;
|
||||
win_remove(wp1, NULL);
|
||||
frame_remove(frp);
|
||||
|
Loading…
Reference in New Issue
Block a user