mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 02:10:28 +08:00
[svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff.
This commit is contained in:
parent
6664409baa
commit
20e79ab0fa
@ -1,3 +1,8 @@
|
||||
2005-05-16 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* init.c (cleanup): Don't free the non-existent opt.ftp_acc. Free
|
||||
the SSL-related stuff.
|
||||
|
||||
2005-05-16 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* ftp.c (print_length): Consistently print \n at end of the
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user