зеркало из https://github.com/mozilla/gecko-dev.git
Patching a leak in XBL.
This commit is contained in:
Родитель
29eee5e48d
Коммит
c255736b64
|
@ -222,6 +222,8 @@ nsXBLBinding::nsXBLBinding(void)
|
|||
|
||||
nsXBLBinding::~nsXBLBinding(void)
|
||||
{
|
||||
delete mAttributeTable;
|
||||
|
||||
gRefCnt--;
|
||||
if (gRefCnt == 0) {
|
||||
NS_RELEASE(kContentAtom);
|
||||
|
|
|
@ -222,6 +222,8 @@ nsXBLBinding::nsXBLBinding(void)
|
|||
|
||||
nsXBLBinding::~nsXBLBinding(void)
|
||||
{
|
||||
delete mAttributeTable;
|
||||
|
||||
gRefCnt--;
|
||||
if (gRefCnt == 0) {
|
||||
NS_RELEASE(kContentAtom);
|
||||
|
|
Загрузка…
Ссылка в новой задаче