mirror of
https://github.com/mirror/wget.git
synced 2025-01-29 22:00:09 +08:00
* src/init.c (initialize): Free mem before exit()
This commit is contained in:
parent
a4402120ad
commit
36f029d2f0
@ -787,11 +787,12 @@ or specify a different file using --config.\n"), SYSTEM_WGETRC);
|
|||||||
if (file_exists_p (file, &flstats))
|
if (file_exists_p (file, &flstats))
|
||||||
ok &= run_wgetrc (file, &flstats);
|
ok &= run_wgetrc (file, &flstats);
|
||||||
|
|
||||||
|
xfree (file);
|
||||||
|
|
||||||
/* If there were errors processing either `.wgetrc', abort. */
|
/* If there were errors processing either `.wgetrc', abort. */
|
||||||
if (!ok)
|
if (!ok)
|
||||||
exit (WGET_EXIT_PARSE_ERROR);
|
exit (WGET_EXIT_PARSE_ERROR);
|
||||||
|
|
||||||
xfree (file);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user