X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Finit.c;h=cafd456cd2befc18d89e33bbbdc58600a435eaef;hb=b1838bdfd197ec970d834ce5042995df92516841;hp=4188ca16c1b66795f896baa771a6caa836af2437;hpb=ae0598df9bc459652c167fa9826a72b10b775a7a;p=wget diff --git a/src/init.c b/src/init.c index 4188ca16..cafd456c 100644 --- a/src/init.c +++ b/src/init.c @@ -67,6 +67,7 @@ as that of the covered work. */ #include "res.h" /* for res_cleanup */ #include "http.h" /* for http_cleanup */ #include "retr.h" /* for output_stream */ +#include "warc.h" /* for warc_close */ #ifdef TESTING #include "test.h" @@ -1668,6 +1669,7 @@ decode_string (const char *val, const struct decode_item *items, int itemcount, void cleanup_html_url (void); +void spider_cleanup (void); /* Free the memory allocated by global variables. */ @@ -1702,6 +1704,7 @@ cleanup (void) res_cleanup (); http_cleanup (); cleanup_html_url (); + spider_cleanup (); host_cleanup (); log_cleanup ();