]> sjero.net Git - wget/blobdiff - src/retr.c
Don't forget to free the iri struct
[wget] / src / retr.c
index fa7f762d42d8473c1f07f368acccccfa9218848c..4731d9ee83335366a7dc15b554e47b1d96247bc9 100644 (file)
@@ -51,7 +51,6 @@ as that of the covered work.  */
 #include "hash.h"
 #include "convert.h"
 #include "ptimer.h"
-#include "iri.h"
 #include "html-url.h"
 
 /* Total size of downloaded files.  Used to enforce quota.  */
@@ -929,6 +928,8 @@ Removing file due to --delete-after in retrieve_from_file():\n"));
   /* Free the linked list of URL-s.  */
   free_urlpos (url_list);
 
+  iri_free (iri);
+
   return status;
 }