ole32: Fix a memory leak caused by copy/pasted fragment (Coverity).

This commit is contained in:
Nikolay Sivov 2013-12-07 10:09:28 +04:00 committed by Alexandre Julliard
parent d15d9d0e74
commit 5f66fb4feb
1 changed files with 0 additions and 3 deletions

View File

@ -1346,9 +1346,6 @@ static HRESULT CATIDEnumGUID_Construct(REFCLSID rclsid, LPCWSTR postfix, IEnumGU
WCHAR keyname[100], clsidW[CHARS_IN_GUID];
CATID_IEnumGUIDImpl *This;
This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CATID_IEnumGUIDImpl));
if (!This) return E_OUTOFMEMORY;
*ret = NULL;
This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CATID_IEnumGUIDImpl));