oleaut32/tmarshal: Remove S_OK value assumptions, fix potential stream leak

Alexandre Julliard julliard at winehq.org
Wed Jan 19 05:29:44 CST 2011


Nikolay Sivov <nsivov at codeweavers.com> writes:

> Remove S_OK value assumptions, fix potential stream leak

Returning an error value and 0 on success is a common pattern, using a
magic constant for 0 is not an improvement.

-- 
Alexandre Julliard
julliard at winehq.org




More information about the wine-devel mailing list