From 4d8bf378702f107fbc2f29e919147960bb82498e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 27 Feb 2020 14:30:53 +0100 Subject: [PATCH] * src/init.c (cleanup): Call ssl_cleanup and connect_cleanup --- src/init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/init.c b/src/init.c index 10507b42..52db8952 100644 --- a/src/init.c +++ b/src/init.c @@ -58,6 +58,8 @@ as that of the covered work. */ #include "host.h" #include "netrc.h" #include "progress.h" +#include "connect.h" /* for connect_cleanup */ +#include "ssl.h" /* for ssl_cleanup */ #include "recur.h" /* for INFINITE_RECURSION */ #include "convert.h" /* for convert_cleanup */ #include "res.h" /* for res_cleanup */ @@ -1941,6 +1943,10 @@ cleanup (void) host_cleanup (); log_cleanup (); netrc_cleanup (); +#ifdef HAVE_SSL + ssl_cleanup (); +#endif + connect_cleanup (); xfree (opt.choose_config); xfree (opt.lfilename);