Tom Spear wrote:
At the risk of looking like an idiot, I'll take a stab at this.. If
you RegCloseKey on env, and it is not initialized, then RegCloseKey
will generate ERROR_INVALID_HANDLE, so I personally think that
something like the first approach would be the better one to go with.
env
On 6/22/07, Andrew Talbot [EMAIL PROTECTED] wrote:
Hi,
I want to patch msi:action.c:ITERATE_WriteEnvironmentString() so that it
only calls RegCloseKey(env), in the cleanup, if env has been initialized
(to fix Coverity report CID-562). I can bypass the call to RegCloseKey()
for any early exit