advapi32: Removed a double free issue on loop termination (Coverity).
This commit is contained in:
parent
3199fe147d
commit
748dd6fed3
|
@ -624,9 +624,6 @@ static BOOL FindProvTypesRegVals(DWORD *pdwIndex, DWORD *pdwProvType, LPSTR *psz
|
|||
|
||||
(*pdwIndex)++;
|
||||
}
|
||||
|
||||
if (!ret)
|
||||
LocalFree(*pszTypeName);
|
||||
RegCloseKey(hSubKey);
|
||||
LocalFree(szName);
|
||||
|
||||
|
|
Loading…
Reference in New Issue