* src/main.c (main): Free opt.encoding_remote properly

This commit is contained in:
Tim Rühsen 2018-04-16 12:21:52 +02:00
parent 7963260e76
commit 73fd57585c

View File

@ -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));