advapi32: Removed a double free issue on loop termination (Coverity).

This commit is contained in:
Marcus Meissner 2012-10-10 10:00:17 +02:00 committed by Alexandre Julliard
parent 3199fe147d
commit 748dd6fed3
1 changed files with 0 additions and 3 deletions

View File

@ -624,9 +624,6 @@ static BOOL FindProvTypesRegVals(DWORD *pdwIndex, DWORD *pdwProvType, LPSTR *psz
(*pdwIndex)++;
}
if (!ret)
LocalFree(*pszTypeName);
RegCloseKey(hSubKey);
LocalFree(szName);