fix a memory leak involving the global context
git-svn-id: svn://10.0.0.236/trunk@56123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8891a8a6d1
commit
283b96bec8
@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
|
||||
}
|
||||
NS_RELEASE(domWindow);
|
||||
}
|
||||
NS_RELEASE(globalObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
|
||||
}
|
||||
NS_RELEASE(domWindow);
|
||||
}
|
||||
NS_RELEASE(globalObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user