fixed memory leak a little more safely :)

git-svn-id: svn://10.0.0.236/trunk@8217 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com 1998-08-19 23:33:46 +00:00
parent fe7b858a07
commit 0317dc7bb0

View File

@ -382,7 +382,7 @@ net_check_for_company_hostname(ActiveEntry *ce)
add_www = TRUE;
}
PR_Free(host);
PR_FREEIF(host);
host = NULL;
if(add_www) {