mirror of
https://github.com/mirror/wget.git
synced 2025-02-28 12:50:22 +08:00
* src/hsts.c (hsts_store_open): NULL check param for fclose().
Reported-by: Coverity
This commit is contained in:
parent
15c1e0eb7b
commit
40870e1271
@ -518,7 +518,8 @@ hsts_store_open (const char *filename)
|
||||
/* abort! */
|
||||
hsts_store_close (store);
|
||||
xfree (store);
|
||||
fclose (fp);
|
||||
if (fp)
|
||||
fclose (fp);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user