msi: Fix use of uninitialized variable (Coverity)

Andrew Talbot Andrew.Talbot at talbotville.com
Sat Jun 23 10:59:50 CDT 2007


Paul Vriens wrote:

> Wouldn't it be easier to set env to NULL when declaring it and do a:
> 
> if (env) RegCloseKey(env);
> 
> Cheers,
> 
> Paul.

Indeed it would! I shall submit a vastly simplified retry, accordingly. :)

-- 
Thanks,

Andy.





More information about the wine-devel mailing list