mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 00:30:22 +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);
|
||||
logprintf (LOG_NOTQUIET, "%s: %s.\n", url, error);
|
||||
xfree (error);
|
||||
iri_free (iri);
|
||||
return URLERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user