diff --git a/mozilla/xpcom/typelib/xpidl/xpidl_typelib.c b/mozilla/xpcom/typelib/xpidl/xpidl_typelib.c index 3dbb639b984..6473f5b591b 100644 --- a/mozilla/xpcom/typelib/xpidl/xpidl_typelib.c +++ b/mozilla/xpcom/typelib/xpidl/xpidl_typelib.c @@ -1085,6 +1085,9 @@ typelib_op_dcl(TreeState *state) } } + /* stick retval param where we can see it later */ + state->tree = op->op_type_spec; + /* XXX unless [notxpcom] */ if (!op_notxpcom) { if (op->op_type_spec) {