NS_RELEASE -> NS_IF_RELEASE.

This commit is contained in:
ramiro%netscape.com 1999-08-25 04:04:51 +00:00
parent ee1c505730
commit f2b29e5760
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ struct nsClassList {
}
~nsClassList(void)
{
NS_RELEASE(mAtom);
NS_IF_RELEASE(mAtom);
if (nsnull != mNext) {
delete mNext;
}

View File

@ -54,7 +54,7 @@ struct nsClassList {
}
~nsClassList(void)
{
NS_RELEASE(mAtom);
NS_IF_RELEASE(mAtom);
if (nsnull != mNext) {
delete mNext;
}