1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff.

This commit is contained in:
hniksic 2005-05-16 08:09:07 -07:00
parent 6664409baa
commit 20e79ab0fa
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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);