mirror of
https://github.com/mirror/wget.git
synced 2024-12-29 14:30:48 +08:00
* src/main.c (main): Fix memleak for fuzzing/testing
This commit is contained in:
parent
7e635d173e
commit
7ecfe3ef70
@ -1866,7 +1866,7 @@ for details.\n\n"));
|
||||
if (opt.enable_iri)
|
||||
{
|
||||
if (opt.locale && !check_encoding_name (opt.locale))
|
||||
opt.locale = NULL;
|
||||
xfree (opt.locale);
|
||||
|
||||
if (!opt.locale)
|
||||
opt.locale = find_locale ();
|
||||
|
Loading…
Reference in New Issue
Block a user