diff src/eval.c @ 92:a9e90b3356b6 v7.0036

updated for version 7.0036
author vimboss
date Sun, 09 Jan 2005 21:23:56 +0000
parents 2b4debdc8d2c
children d4f3db33d782
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);
 }