mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Added nsWidgetSupport to Makefile. Removed NS_RELASE in widget factory which
would get called after each widget was instantiated.
This commit is contained in:
parent
e329db0c07
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user