Fix leaks in the xlib port (and some problems exposed by fixing those leaks). b=64534, 64767 r=blizzard@mozilla.org (Not part of the build.)
git-svn-id: svn://10.0.0.236/trunk@84694 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -206,4 +206,12 @@ static nsModuleComponentInfo components[] =
|
||||
nsFileSpecWithUIImplConstructor }
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("nsWidgetXLIBModule", components)
|
||||
PR_STATIC_CALLBACK(void)
|
||||
nsWidgetXLIBModuleDtor(nsIModule *self)
|
||||
{
|
||||
nsClipboard::Shutdown();
|
||||
}
|
||||
|
||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsWidgetXLIBModule",
|
||||
components,
|
||||
nsWidgetXLIBModuleDtor)
|
||||
|
||||
Reference in New Issue
Block a user