fix memory leak bug 29942 r=blizzard

git-svn-id: svn://10.0.0.236/trunk@62212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2000-03-04 05:29:23 +00:00
parent 476a5d5646
commit d290a44564

View File

@@ -44,7 +44,8 @@ nsLookAndFeel::nsLookAndFeel()
nsLookAndFeel::~nsLookAndFeel()
{
gtk_widget_destroy(mWidget);
// gtk_widget_destroy(mWidget);
gtk_widget_unref(mWidget);
}
NS_IMETHODIMP nsLookAndFeel::GetColor(const nsColorID aID, nscolor &aColor)