Ditch url_spec's path member now that it's no longer used.
[privoxy.git] / urlmatch.c
index a5fbcf5..a031348 100644 (file)
@@ -1,4 +1,4 @@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.29 2008/04/10 04:17:56 fabiankeil Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.30 2008/04/10 04:24:24 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
@@ -33,6 +33,11 @@ const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.29 2008/04/10 04:17:56 fabianke
  *
  * Revisions   :
  *    $Log: urlmatch.c,v $
+ *    Revision 1.30  2008/04/10 04:24:24  fabiankeil
+ *    Stop duplicating the plain text representation of the path regex
+ *    (and keeping the copy around). Once the regex is compiled it's no
+ *    longer useful.
+ *
  *    Revision 1.29  2008/04/10 04:17:56  fabiankeil
  *    In url_match(), check the right member for NULL when determining
  *    whether there's a path regex to execute. Looking for a plain-text
@@ -1090,7 +1095,6 @@ void free_url_spec(struct url_spec *url)
    freez(url->dvec);
    url->dcount = 0;
 #endif /* ndef FEATURE_EXTENDED_HOST_PATTERNS */
-   freez(url->path);
    freez(url->port_list);
    if (url->preg)
    {