mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Remove vestigial addref that was leaking proxy objects. r=dougt
This commit is contained in:
parent
6b09657267
commit
de0d2dcb1a
@ -197,12 +197,6 @@ nsProxyEventClass::CallQueryInterfaceOnProxy(nsProxyEventObject* self, REFNSIID
|
||||
|
||||
rv = self->CallMethod(0, mi, var);
|
||||
|
||||
// if we are going to return another interface,
|
||||
// lets make sure that we increment the wrapper.
|
||||
|
||||
if (NS_SUCCEEDED(rv))
|
||||
NS_ADDREF(self);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user