]> sjero.net Git - wget/commitdiff
[svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff.
authorhniksic <devnull@localhost>
Mon, 16 May 2005 15:09:07 +0000 (08:09 -0700)
committerhniksic <devnull@localhost>
Mon, 16 May 2005 15:09:07 +0000 (08:09 -0700)
src/ChangeLog
src/init.c

index a1849db37485617c2b6e1d5e20b3e6d48ad722f2..e5b07ded64a00b95cb636d74a9c85723ca3a3d1d 100644 (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
index 45d10243584178c61486dc6dc8ed071c4eca62f2..987b0d5922423f9b4bc4e9bbef95617a1887091b 100644 (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);