fix bug 14145, approved chofmann

git-svn-id: svn://10.0.0.236/trunk@49089 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com
1999-09-26 09:38:07 +00:00
parent f074880c8c
commit 41b7aea095
2 changed files with 8 additions and 2 deletions

View File

@@ -176,8 +176,8 @@ nsCookieHTTPNotify::AsyncExamineResponse(nsISupports *aContext) {
rv = pHTTPConnection->GetResponseHeader(header, &pDate);
}
if (NS_SUCCEEDED(rv)) {
COOKIE_SetCookieStringFromHttp((char*)(const char*)url, cookie, pDate);
if(pDate) {
COOKIE_SetCookieStringFromHttp((char*)(const char*)url, cookie, pDate);
nsCRT::free(pDate);
}
}