diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-17 21:35:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-17 21:35:30 +0100 |
commit | e00abd7047b660372eebd9f30aa28ed8366493d6 (patch) | |
tree | bfe3eea54ce33eb3a27e5178f923e1ee1154a5c2 /contrib/kann/kann.c | |
parent | b7146906059d461da0e739978c559cefc3afe371 (diff) | |
download | rspamd-e00abd7047b660372eebd9f30aa28ed8366493d6.tar.gz rspamd-e00abd7047b660372eebd9f30aa28ed8366493d6.zip |
[Minor] Fix some dead ends
Found by: coverity scan
Diffstat (limited to 'contrib/kann/kann.c')
-rw-r--r-- | contrib/kann/kann.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/kann/kann.c b/contrib/kann/kann.c index 72fb0c061..70d1f02d6 100644 --- a/contrib/kann/kann.c +++ b/contrib/kann/kann.c @@ -498,7 +498,6 @@ kann_t *kann_load_fp(FILE *fp) (void) !fread(magic, 1, 4, fp); if (strncmp(magic, KANN_MAGIC, 4) != 0) { - fclose(fp); return 0; } ann = (kann_t*)calloc(1, sizeof(kann_t)); |