changeset 92:a9e90b3356b6 v7.0036

updated for version 7.0036
author vimboss
date Sun, 09 Jan 2005 21:23:56 +0000
parents d0764d5e4619
children 9c72ca2bfa44
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -1911,7 +1911,7 @@ free_for_info(fi_void)
 {
     forinfo    *fi = (forinfo *)fi_void;
 
-    if (fi->fi_list != NULL)
+    if (fi != NULL && fi->fi_list != NULL)
 	list_rem_watch(fi->fi_list, &fi->fi_lw);
     vim_free(fi);
 }