зеркало из https://github.com/mozilla/pjs.git
Bustage fix - I missed an NS_ADDREF but peterv spotted my error
This commit is contained in:
Родитель
8e0aea9e40
Коммит
5265657a0f
|
@ -1018,6 +1018,7 @@ MakeContentObject(nsHTMLTag aNodeType, nsINodeInfo *aNodeInfo,
|
|||
if (aNodeType == eHTMLTag_form) {
|
||||
if (aForm) {
|
||||
// the form was already created
|
||||
NS_ADDREF(aForm);
|
||||
return aForm;
|
||||
}
|
||||
nsGenericHTMLElement* result = NS_NewHTMLFormElement(aNodeInfo);
|
||||
|
|
Загрузка…
Ссылка в новой задаче