diff --git a/src/retr.c b/src/retr.c index ad9a9f66..f60da6ef 100644 --- a/src/retr.c +++ b/src/retr.c @@ -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; }