fix a ref counting bug with class atoms
git-svn-id: svn://10.0.0.236/trunk@16759 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -177,6 +177,7 @@ struct nsClassList {
|
||||
: mAtom(aCopy.mAtom),
|
||||
mNext(nsnull)
|
||||
{
|
||||
NS_ADDREF(mAtom);
|
||||
if (nsnull != aCopy.mNext) {
|
||||
mNext = new nsClassList(*(aCopy.mNext));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user