diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-04-15 12:27:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-04-15 12:27:36 +0200 |
commit | 429fa85392a934b34ba7b394558900cbb8786454 (patch) | |
tree | 2efc8dbb0c4727471c970f4c96ea37a9e9ba67e6 /src/fileio.c | |
parent | 07219f911c86a50840050282baafe896284a5588 (diff) | |
download | vim-429fa85392a934b34ba7b394558900cbb8786454.zip |
updated for version 7.3.893
Problem: Crash when using b:, w: or t: after closing the buffer, window or
tabpage.
Solution: Allocate the dictionary instead of having it part of the
buffer/window/tabpage struct. (Yukihiro Nakadaira)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 6e89b888c..251d15544 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -8955,8 +8955,8 @@ win_found: /* Hmm, original window disappeared. Just use the first one. */ curwin = firstwin; # ifdef FEAT_EVAL - vars_clear(&aucmd_win->w_vars.dv_hashtab); /* free all w: variables */ - hash_init(&aucmd_win->w_vars.dv_hashtab); /* re-use the hashtab */ + vars_clear(&aucmd_win->w_vars->dv_hashtab); /* free all w: variables */ + hash_init(&aucmd_win->w_vars->dv_hashtab); /* re-use the hashtab */ # endif #else curwin = aco->save_curwin; |