inetcomm: Use a static interface instance for IMimeAllocator.

This commit is contained in:
Michael Stefaniuc 2013-03-04 00:32:40 +01:00 committed by Alexandre Julliard
parent f44d66c617
commit 3a9d744f12
1 changed files with 1 additions and 6 deletions

View File

@ -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
};