Simple aggregation fix.

This commit is contained in:
Tom Fogal 2005-02-09 13:26:46 +00:00 committed by Alexandre Julliard
parent 0f65057aed
commit 69431706e5
1 changed files with 3 additions and 0 deletions

View File

@ -471,6 +471,9 @@ HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj)
{
ITS_IParseDisplayNameImpl *its;
if( pUnkOuter )
return CLASS_E_NOAGGREGATION;
its = HeapAlloc( GetProcessHeap(), 0, sizeof(ITS_IParseDisplayNameImpl) );
its->vtbl_ITS_IParseDisplayName = &ITS_IParseDisplayNameImpl_Vtbl;
its->ref = 1;