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:
bzbarsky%mit.edu 2003-01-25 17:35:24 +00:00
Родитель eaf635f811
Коммит 46cce616f4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,