summaryrefslogtreecommitdiff
path: root/src
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
parentb7d6e72b859ec1b378a89535fcb381ab98da3fd2 (diff)
downloadvim-git-ab7013c8d8f61c3a7d74c79286d5df64ebb9f3d6.tar.gz
updated for version 7.0036v7.0036
Diffstat (limited to 'src')
-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);
}