1
0
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:
Darshit Shah 2015-03-01 13:06:11 +05:30
parent 53b22974cb
commit cc9f76c5a4

View File

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