From: Alexander Morozov Date: Wed, 2 Feb 2011 17:14:40 +0000 (+0300) Subject: shell32: Release iTypeInfo on error. X-Git-Tag: 1.0.12-alt7.48~4 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=4d68276a17c4ca8723d9b7a6f70c32b36635de71;p=wine%2Feterwine.git shell32: Release iTypeInfo on error. --- diff --git a/dlls/shell32/shelldispatch.c b/dlls/shell32/shelldispatch.c index 3497c3dbb9..bef14d8c40 100644 --- a/dlls/shell32/shelldispatch.c +++ b/dlls/shell32/shelldispatch.c @@ -711,6 +711,7 @@ static HRESULT Folder_Constructor(VARIANT *dir, Folder **ppsdf) ret = VariantCopy(&This->dir, dir); if (FAILED(ret)) { + ITypeInfo_Release(This->iTypeInfo); HeapFree(GetProcessHeap(), 0, This); return E_OUTOFMEMORY; }