зеркало из https://github.com/mozilla/gecko-dev.git
Added nsWidgetSupport to Makefile. Removed NS_RELASE in widget factory which
would get called after each widget was instantiated.
This commit is contained in:
Родитель
e329db0c07
Коммит
05f68e12c9
|
@ -44,6 +44,7 @@ EXTRA_DSO_LDOPTS+= -lXm -lXt -lX11 -lm
|
|||
endif
|
||||
|
||||
CPPSRCS= \
|
||||
nsWidgetSupport.cpp \
|
||||
nsObject.cpp \
|
||||
nsWindow.cpp \
|
||||
nsComboBox.cpp \
|
||||
|
|
|
@ -223,7 +223,7 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter,
|
|||
delete inst;
|
||||
}
|
||||
else {
|
||||
NS_RELEASE(inst);
|
||||
// NS_RELEASE(inst);
|
||||
}
|
||||
|
||||
return res;
|
||||
|
|
Загрузка…
Ссылка в новой задаче