Module: wine Branch: master Commit: 04f2e7612404ad988136a3fe55e018150e5c5e9a URL: http://source.winehq.org/git/wine.git/?a=commit;h=04f2e7612404ad988136a3fe55...
Author: Alexander Morozov amorozov@etersoft.ru Date: Wed Feb 2 20:14:40 2011 +0300
shell32: Release iTypeInfo on error.
---
dlls/shell32/shelldispatch.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shelldispatch.c b/dlls/shell32/shelldispatch.c index 67501ae..4458252 100644 --- a/dlls/shell32/shelldispatch.c +++ b/dlls/shell32/shelldispatch.c @@ -391,6 +391,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; }