зеркало из https://github.com/mozilla/pjs.git
Don't pass around objects with a refcount of 0. Bug 190088, patch by
dwitte@stanford.edu, r=jag, sr=darin, a=dbaron
This commit is contained in:
Родитель
eaf635f811
Коммит
46cce616f4
|
@ -1526,7 +1526,7 @@ cookie_SetCookieString(nsIURI * curURL, nsIPrompt *aPrompter, const char * setCo
|
|||
PRBool modify = prev_cookie != nsnull;
|
||||
|
||||
// put the cookie information into the cookie structure.
|
||||
nsICookie *thisCookie =
|
||||
nsCOMPtr<nsICookie> thisCookie =
|
||||
new nsCookie(nsDependentCString(name_from_header),
|
||||
nsDependentCString(cookie_from_header),
|
||||
isDomain,
|
||||
|
|
Загрузка…
Ссылка в новой задаче