diff --git a/widget/src/motif/Makefile b/widget/src/motif/Makefile index e3dadceb28ac..d94d4ce5e1d0 100644 --- a/widget/src/motif/Makefile +++ b/widget/src/motif/Makefile @@ -44,6 +44,7 @@ EXTRA_DSO_LDOPTS+= -lXm -lXt -lX11 -lm endif CPPSRCS= \ + nsWidgetSupport.cpp \ nsObject.cpp \ nsWindow.cpp \ nsComboBox.cpp \ diff --git a/widget/src/motif/nsWidgetFactory.cpp b/widget/src/motif/nsWidgetFactory.cpp index 429871f1ce91..ba9e8df3943b 100644 --- a/widget/src/motif/nsWidgetFactory.cpp +++ b/widget/src/motif/nsWidgetFactory.cpp @@ -223,7 +223,7 @@ nsresult nsWidgetFactory::CreateInstance(nsISupports *aOuter, delete inst; } else { - NS_RELEASE(inst); +// NS_RELEASE(inst); } return res;