зеркало из https://github.com/mozilla/pjs.git
fix a memory leak involving the global context
This commit is contained in:
Родитель
3b82f8c108
Коммит
1fec7316ef
|
@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
|
|||
}
|
||||
NS_RELEASE(domWindow);
|
||||
}
|
||||
NS_RELEASE(globalObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
|
|||
}
|
||||
NS_RELEASE(domWindow);
|
||||
}
|
||||
NS_RELEASE(globalObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче