On 02/01/2011 03:26 PM, Nikolay Sivov wrote:
On 2/1/2011 17:14, Paul Vriens wrote:
Hi,

Addresses Coverity #1090.

If CoCreateInstance() fails we check the uninitialized urlfile variable.
Same story with urlobj. In fact it looks better to try CoCreateInstance
first, before anything else like lstrcpy and just return earlier on
failure.



Isn't urlobj, NULL'ed by CoCreateInstance on failure?

--
Cheers,

Paul.


Reply via email to