diff src/fileio.c @ 2001:98cdf5c477ec v7.2.298

updated for version 7.2-298
author vimboss
date Tue, 17 Nov 2009 13:57:22 +0000
parents 1f53050b3868
children 5d5cad78a838
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8597,6 +8597,7 @@ aucmd_restbuf(aco)
 	    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 */
 # endif
 #else
 	curwin = aco->save_curwin;