0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.1-289

This commit is contained in:
Bram Moolenaar
2008-04-01 12:53:43 +00:00
parent e9b2884c08
commit 2a32974646
2 changed files with 8 additions and 2 deletions

View File

@@ -751,7 +751,7 @@ vim_mem_profile_dump()
#endif
/*
* Note: if unsinged is 16 bits we can only allocate up to 64K with alloc().
* Note: if unsigned is 16 bits we can only allocate up to 64K with alloc().
* Use lalloc for larger blocks.
*/
char_u *
@@ -1082,7 +1082,11 @@ free_all_mem()
win_free_all();
#endif
/* Free all buffers. */
/* Free all buffers. Reset 'autochdir' to avoid accessing things that
* were freed already. */
#ifdef FEAT_AUTOCHDIR
p_acd = FALSE;
#endif
for (buf = firstbuf; buf != NULL; )
{
nextbuf = buf->b_next;