mirror of
https://github.com/mirror/wget.git
synced 2025-01-31 14:50:23 +08:00
* src/main.c (main): Free opt.encoding_remote properly
This commit is contained in:
parent
7963260e76
commit
73fd57585c
@ -1866,7 +1866,7 @@ for details.\n\n"));
|
||||
opt.locale = find_locale ();
|
||||
|
||||
if (opt.encoding_remote && !check_encoding_name (opt.encoding_remote))
|
||||
opt.encoding_remote = NULL;
|
||||
xfree (opt.encoding_remote);
|
||||
}
|
||||
#else
|
||||
memset (&dummy_iri, 0, sizeof (dummy_iri));
|
||||
|
Loading…
Reference in New Issue
Block a user