зеркало из https://github.com/mozilla/gecko-dev.git
supplimental fix for #66867. r=hwaara, rs=mscott, a=dbaron
This commit is contained in:
Родитель
02eef931ca
Коммит
22108e7147
|
@ -120,7 +120,7 @@ nsMsgNewsFolder::nsMsgNewsFolder(void) : nsMsgLineBuffer(nsnull, PR_FALSE),
|
||||||
nsMsgNewsFolder::~nsMsgNewsFolder(void)
|
nsMsgNewsFolder::~nsMsgNewsFolder(void)
|
||||||
{
|
{
|
||||||
MOZ_COUNT_DTOR(nsNewsFolder);
|
MOZ_COUNT_DTOR(nsNewsFolder);
|
||||||
PR_FREEIF(mCachedNewsrcLine);
|
CRTFREEIF(mCachedNewsrcLine);
|
||||||
PR_FREEIF(mGroupUsername);
|
PR_FREEIF(mGroupUsername);
|
||||||
PR_FREEIF(mGroupPassword);
|
PR_FREEIF(mGroupPassword);
|
||||||
PR_FREEIF(mAsciiName);
|
PR_FREEIF(mAsciiName);
|
||||||
|
@ -1551,7 +1551,7 @@ nsMsgNewsFolder::SetCachedNewsrcLine(const char *newsrcLine)
|
||||||
{
|
{
|
||||||
if (!newsrcLine) return NS_ERROR_NULL_POINTER;
|
if (!newsrcLine) return NS_ERROR_NULL_POINTER;
|
||||||
|
|
||||||
nsCRT::free(mCachedNewsrcLine);
|
CRTFREEIF(mCachedNewsrcLine);
|
||||||
|
|
||||||
mCachedNewsrcLine = nsCRT::strdup(newsrcLine);
|
mCachedNewsrcLine = nsCRT::strdup(newsrcLine);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче