diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 7d8196cdc..2afa5e733 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4008,6 +4008,7 @@ do_ecmd( } vim_free(new_name); au_new_curbuf.br_buf = NULL; + au_new_curbuf.br_buf_free_count = 0; #endif } @@ -4389,6 +4390,7 @@ delbuf_msg(char_u *name) name == NULL ? (char_u *)"" : name); vim_free(name); au_new_curbuf.br_buf = NULL; + au_new_curbuf.br_buf_free_count = 0; } #endif |