]> sjero.net Git - wget/blobdiff - src/url.c
[svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
[wget] / src / url.c
index 40482b75adf6bca8ecf3992f258f7cf26584d232..dd93592a408a9392665fc09290a9a44f53c680fb 100644 (file)
--- a/src/url.c
+++ b/src/url.c
@@ -1236,11 +1236,11 @@ url_free (struct url *url)
   xfree (url->path);
   xfree (url->url);
 
-  FREE_MAYBE (url->params);
-  FREE_MAYBE (url->query);
-  FREE_MAYBE (url->fragment);
-  FREE_MAYBE (url->user);
-  FREE_MAYBE (url->passwd);
+  xfree_null (url->params);
+  xfree_null (url->query);
+  xfree_null (url->fragment);
+  xfree_null (url->user);
+  xfree_null (url->passwd);
 
   xfree (url->dir);
   xfree (url->file);