* src/init.c (initialize): Free mem before exit()

This commit is contained in:
Tim Rühsen 2018-04-06 16:51:27 +02:00
parent a4402120ad
commit 36f029d2f0

View File

@ -787,11 +787,12 @@ or specify a different file using --config.\n"), SYSTEM_WGETRC);
if (file_exists_p (file, &flstats))
ok &= run_wgetrc (file, &flstats);
xfree (file);
/* If there were errors processing either `.wgetrc', abort. */
if (!ok)
exit (WGET_EXIT_PARSE_ERROR);
xfree (file);
return;
}