mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
supplimental fix for #66867. r=hwaara, rs=mscott, a=dbaron
This commit is contained in:
parent
02eef931ca
commit
22108e7147
@ -120,7 +120,7 @@ nsMsgNewsFolder::nsMsgNewsFolder(void) : nsMsgLineBuffer(nsnull, PR_FALSE),
|
||||
nsMsgNewsFolder::~nsMsgNewsFolder(void)
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsNewsFolder);
|
||||
PR_FREEIF(mCachedNewsrcLine);
|
||||
CRTFREEIF(mCachedNewsrcLine);
|
||||
PR_FREEIF(mGroupUsername);
|
||||
PR_FREEIF(mGroupPassword);
|
||||
PR_FREEIF(mAsciiName);
|
||||
@ -1551,7 +1551,7 @@ nsMsgNewsFolder::SetCachedNewsrcLine(const char *newsrcLine)
|
||||
{
|
||||
if (!newsrcLine) return NS_ERROR_NULL_POINTER;
|
||||
|
||||
nsCRT::free(mCachedNewsrcLine);
|
||||
CRTFREEIF(mCachedNewsrcLine);
|
||||
|
||||
mCachedNewsrcLine = nsCRT::strdup(newsrcLine);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user