1
0
mirror of https://github.com/mirror/wget.git synced 2025-04-24 04:05:05 +08:00

* src/retr.c (retrieve_from_file): Fix memleak

This commit is contained in:
Tim Rühsen 2024-06-02 14:26:01 +02:00
parent cd643458b4
commit afa979b43f

View File

@ -1292,7 +1292,10 @@ retrieve_from_file (const char *file, bool html, int *count)
url_free (url_parsed);
if (!url_file || (status != RETROK))
return status;
{
iri_free (iri);
return status;
}
if (dt & TEXTHTML)
html = true;