]> sjero.net Git - wget/blobdiff - src/html-url.c
[svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
[wget] / src / html-url.c
index e26bd175afbec962eafe44ea79dd0a7c3f7bbdff..efbae629e8855c03322d2a422fe3e0cecab73edf 100644 (file)
@@ -623,7 +623,7 @@ get_urls_html (const char *file, const char *url, int *meta_disallow_follow)
   if (meta_disallow_follow)
     *meta_disallow_follow = ctx.nofollow;
 
-  FREE_MAYBE (ctx.base);
+  xfree_null (ctx.base);
   read_file_free (fm);
   return ctx.head;
 }
@@ -715,6 +715,6 @@ get_urls_file (const char *file)
 void
 cleanup_html_url (void)
 {
-  FREE_MAYBE (interesting_tags);
-  FREE_MAYBE (interesting_attributes);
+  xfree_null (interesting_tags);
+  xfree_null (interesting_attributes);
 }