mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 08:40:36 +08:00
retr.c: Fix memory leak in retrieve_from_file()
Reported by: Coverity Bug 1188045
This commit is contained in:
parent
53b22974cb
commit
cc9f76c5a4
@ -1023,6 +1023,7 @@ retrieve_from_file (const char *file, bool html, int *count)
|
|||||||
char *error = url_error (url, url_err);
|
char *error = url_error (url, url_err);
|
||||||
logprintf (LOG_NOTQUIET, "%s: %s.\n", url, error);
|
logprintf (LOG_NOTQUIET, "%s: %s.\n", url, error);
|
||||||
xfree (error);
|
xfree (error);
|
||||||
|
iri_free (iri);
|
||||||
return URLERROR;
|
return URLERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user