supplimental fix for #66867. r=hwaara, rs=mscott, a=dbaron

This commit is contained in:
sspitzer%netscape.com 2001-06-15 19:47:51 +00:00
Родитель 02eef931ca
Коммит 22108e7147
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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);