summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-08 10:30:57 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-16 05:10:54 +0300
commit8b5fc0b67b78a6f4336705e22806c837257cdead (patch)
tree57d301f219f0a815bb98b58866a48551750a2258 /src/plugins
parenta3f5054b25c492ce881a1285fb1a13e433ab3ecf (diff)
downloadhercules-8b5fc0b67b78a6f4336705e22806c837257cdead.tar.gz
hercules-8b5fc0b67b78a6f4336705e22806c837257cdead.tar.bz2
hercules-8b5fc0b67b78a6f4336705e22806c837257cdead.tar.xz
hercules-8b5fc0b67b78a6f4336705e22806c837257cdead.zip
Fix double fclose in map cache plugin
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/mapcache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/mapcache.c b/src/plugins/mapcache.c
index 3dc6e3b34..2b8e4c6f8 100644
--- a/src/plugins/mapcache.c
+++ b/src/plugins/mapcache.c
@@ -402,7 +402,6 @@ bool fix_md5_truncation_sub(FILE *fp, const char *map_name)
fseek(fp, 0, SEEK_SET);
fwrite(&mheader, sizeof(mheader), 1, fp);
- fclose(fp);
return true;
}