commit | a9d52e3b7925ef119b5d0d9fca14faac634effb0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 31 16:44:19 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 31 16:44:19 2010 +0200 |
tree | 151c52ad2e282b8e264aee2fc7af3db76d8c2071 | |
parent | a26559b553079c3959ee142a010b2e000c180323 [diff] [blame] |
Fixes for coverity warnings.
diff --git a/src/spell.c b/src/spell.c index 6d4d47e..30510ad 100644 --- a/src/spell.c +++ b/src/spell.c
@@ -9439,7 +9439,8 @@ fseek(fd, fpos_next, SEEK_SET); } } - fclose(fd); + if (fd != NULL) + fclose(fd); } }