mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04: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