Simple aggregation fix.
This commit is contained in:
parent
0f65057aed
commit
69431706e5
|
@ -471,6 +471,9 @@ HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj)
|
||||||
{
|
{
|
||||||
ITS_IParseDisplayNameImpl *its;
|
ITS_IParseDisplayNameImpl *its;
|
||||||
|
|
||||||
|
if( pUnkOuter )
|
||||||
|
return CLASS_E_NOAGGREGATION;
|
||||||
|
|
||||||
its = HeapAlloc( GetProcessHeap(), 0, sizeof(ITS_IParseDisplayNameImpl) );
|
its = HeapAlloc( GetProcessHeap(), 0, sizeof(ITS_IParseDisplayNameImpl) );
|
||||||
its->vtbl_ITS_IParseDisplayName = &ITS_IParseDisplayNameImpl_Vtbl;
|
its->vtbl_ITS_IParseDisplayName = &ITS_IParseDisplayNameImpl_Vtbl;
|
||||||
its->ref = 1;
|
its->ref = 1;
|
||||||
|
|
Loading…
Reference in New Issue