mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
NS_RELEASE -> NS_IF_RELEASE.
This commit is contained in:
parent
ee1c505730
commit
f2b29e5760
@ -54,7 +54,7 @@ struct nsClassList {
|
||||
}
|
||||
~nsClassList(void)
|
||||
{
|
||||
NS_RELEASE(mAtom);
|
||||
NS_IF_RELEASE(mAtom);
|
||||
if (nsnull != mNext) {
|
||||
delete mNext;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ struct nsClassList {
|
||||
}
|
||||
~nsClassList(void)
|
||||
{
|
||||
NS_RELEASE(mAtom);
|
||||
NS_IF_RELEASE(mAtom);
|
||||
if (nsnull != mNext) {
|
||||
delete mNext;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user