Jacek Caban <[EMAIL PROTECTED]> writes:

> It's my tiny bug. RegsterObjectParam can fail only with E_OUTOFMEMORY
> here, so checking it's return is
> really not important, but to be correct at all, hres should be just
> returned.

No, that's worse than before, now you return an error while still
allocating the object. You need to cleanup the allocated context when
returning a failure.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to