mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
Bug 390958. XPCWrappedNativeScope leaks a WrappedNative2WrapperMap. r=brendan/mrbkap, sr=brendan, a=jst
This commit is contained in:
parent
12175aaf10
commit
804332784a
@ -268,6 +268,11 @@ XPCWrappedNativeScope::~XPCWrappedNativeScope()
|
||||
delete mWrappedNativeProtoMap;
|
||||
}
|
||||
|
||||
if(mWrapperMap)
|
||||
{
|
||||
delete mWrapperMap;
|
||||
}
|
||||
|
||||
// XXX we should assert that we are dead or that xpconnect has shutdown
|
||||
// XXX might not want to do this at xpconnect shutdown time???
|
||||
NS_IF_RELEASE(mComponents);
|
||||
|
Loading…
Reference in New Issue
Block a user