summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-09 21:23:56 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-09 21:23:56 +0000
commitab7013c8d8f61c3a7d74c79286d5df64ebb9f3d6 (patch)
treefd9ef3eacde85414c92266e100f5e33c0f37f046 /src/eval.c
parentb7d6e72b859ec1b378a89535fcb381ab98da3fd2 (diff)
downloadvim-ab7013c8d8f61c3a7d74c79286d5df64ebb9f3d6.zip
updated for version 7.0036
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 3bc05c987..ec5c57346 100644
--- 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);
}