mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 10:20:56 +08:00
* src/init.c (cleanup): Call ssl_cleanup and connect_cleanup
This commit is contained in:
parent
b209ca91fb
commit
4d8bf37870
@ -58,6 +58,8 @@ as that of the covered work. */
|
|||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "netrc.h"
|
#include "netrc.h"
|
||||||
#include "progress.h"
|
#include "progress.h"
|
||||||
|
#include "connect.h" /* for connect_cleanup */
|
||||||
|
#include "ssl.h" /* for ssl_cleanup */
|
||||||
#include "recur.h" /* for INFINITE_RECURSION */
|
#include "recur.h" /* for INFINITE_RECURSION */
|
||||||
#include "convert.h" /* for convert_cleanup */
|
#include "convert.h" /* for convert_cleanup */
|
||||||
#include "res.h" /* for res_cleanup */
|
#include "res.h" /* for res_cleanup */
|
||||||
@ -1941,6 +1943,10 @@ cleanup (void)
|
|||||||
host_cleanup ();
|
host_cleanup ();
|
||||||
log_cleanup ();
|
log_cleanup ();
|
||||||
netrc_cleanup ();
|
netrc_cleanup ();
|
||||||
|
#ifdef HAVE_SSL
|
||||||
|
ssl_cleanup ();
|
||||||
|
#endif
|
||||||
|
connect_cleanup ();
|
||||||
|
|
||||||
xfree (opt.choose_config);
|
xfree (opt.choose_config);
|
||||||
xfree (opt.lfilename);
|
xfree (opt.lfilename);
|
||||||
|
Loading…
Reference in New Issue
Block a user