Remove vestigial addref that was leaking proxy objects. r=dougt

This commit is contained in:
waterson%netscape.com 1999-11-23 22:05:44 +00:00
parent 6b09657267
commit de0d2dcb1a

View File

@ -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;
}