Dec. 7, 2004
1:31 p.m.
Jacek Caban <jack(a)itma.pwr.wroc.pl> 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 julliard(a)winehq.org
7779
Age (days ago)
7779
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard