Commit 748dd6fe authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

parent 3199fe14
......@@ -624,9 +624,6 @@ static BOOL FindProvTypesRegVals(DWORD *pdwIndex, DWORD *pdwProvType, LPSTR *psz
(*pdwIndex)++;
}
if (!ret)
LocalFree(*pszTypeName);
RegCloseKey(hSubKey);
LocalFree(szName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment