From 69431706e55e38b1a15b8d5a6ba6e9c9f8780ec7 Mon Sep 17 00:00:00 2001 From: Tom Fogal Date: Wed, 9 Feb 2005 13:26:46 +0000 Subject: [PATCH] Simple aggregation fix. --- dlls/itss/moniker.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/itss/moniker.c b/dlls/itss/moniker.c index e62318e05f8..4a00aa76181 100644 --- a/dlls/itss/moniker.c +++ b/dlls/itss/moniker.c @@ -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;