inetcomm: Use a static interface instance for IMimeAllocator.
This commit is contained in:
parent
f44d66c617
commit
3a9d744f12
|
@ -2778,11 +2778,6 @@ HRESULT WINAPI MimeOleCreateSecurity(IMimeSecurity **ppSecurity)
|
|||
return MimeSecurity_create(NULL, (void **)ppSecurity);
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
IMimeAllocatorVtbl *lpVtbl;
|
||||
} MimeAllocator;
|
||||
|
||||
static HRESULT WINAPI MimeAlloc_QueryInterface(
|
||||
IMimeAllocator* iface,
|
||||
REFIID riid,
|
||||
|
@ -2964,7 +2959,7 @@ static IMimeAllocatorVtbl mime_alloc_vtbl =
|
|||
MimeAlloc_PropVariantClear
|
||||
};
|
||||
|
||||
static MimeAllocator mime_allocator =
|
||||
static IMimeAllocator mime_allocator =
|
||||
{
|
||||
&mime_alloc_vtbl
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue