mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
Free the component-location arrays at shutdown.
This commit is contained in:
parent
b2380781d9
commit
feb8ea92f6
@ -112,6 +112,8 @@ $imbalance{'.root'} = 'n/a';
|
||||
|
||||
# The main read loop.
|
||||
|
||||
$/ = '\r\n';
|
||||
|
||||
sub read_data($$$) {
|
||||
my ($INFILE, $plus, $minus) = @_;
|
||||
|
||||
@ -189,7 +191,6 @@ sub read_data($$$) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
read_data(*STDIN, "AddRef", "Release");
|
||||
|
||||
if ($::opt_comptrs) {
|
||||
|
@ -834,6 +834,9 @@ nsresult nsComponentManagerImpl::Shutdown(void)
|
||||
|
||||
mLoaderData.Clear();
|
||||
|
||||
delete sStaticModules;
|
||||
delete sModuleLocations;
|
||||
|
||||
// Unload libraries
|
||||
mNativeModuleLoader.UnloadLibraries();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user