recognize -1 value for privacy_policy_url

git-svn-id: svn://10.0.0.236/trunk@12493 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com
1998-10-10 02:53:50 +00:00
parent a8edb6848a
commit 409055ee48
2 changed files with 16 additions and 4 deletions

View File

@@ -4511,8 +4511,12 @@ NET_FreeURLStruct (URL_Struct * URL_s)
PR_FREEIF(URL_s->add_crlf);
PR_FREEIF(URL_s->page_services_url);
PR_FREEIF(URL_s->privacy_policy_url);
if (URL_s->privacy_policy_url != (char*)(-1)) {
PR_FREEIF(URL_s->privacy_policy_url);
} else {
URL_s->privacy_policy_url = NULL;
}
#ifdef TRUST_LABELS
/* delete the entries and the trust list, if the list was created then there