From 20e79ab0fad2115285cb20a3e65bd4fb5dc33f9f Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 16 May 2005 08:09:07 -0700 Subject: [PATCH] [svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff. --- src/ChangeLog | 5 +++++ src/init.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index a1849db3..e5b07ded 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-05-16 Hrvoje Niksic + + * init.c (cleanup): Don't free the non-existent opt.ftp_acc. Free + the SSL-related stuff. + 2005-05-16 Hrvoje Niksic * ftp.c (print_length): Consistently print \n at end of the diff --git a/src/init.c b/src/init.c index 45d10243..987b0d59 100644 --- a/src/init.c +++ b/src/init.c @@ -1494,7 +1494,6 @@ cleanup (void) free_vec (opt.follow_tags); free_vec (opt.ignore_tags); xfree_null (opt.progress_type); - xfree (opt.ftp_acc); xfree_null (opt.ftp_user); xfree_null (opt.ftp_passwd); xfree_null (opt.ftp_proxy); @@ -1509,6 +1508,10 @@ cleanup (void) # ifdef HAVE_SSL xfree_null (opt.cert_file); xfree_null (opt.private_key); + xfree_null (opt.ca_directory); + xfree_null (opt.ca_cert); + xfree_null (opt.random_file); + xfree_null (opt.egd_file); # endif xfree_null (opt.bind_address); xfree_null (opt.cookies_input); -- 2.39.2