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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user