Michael Stefaniuc : inetcomm: Use a static interface instance for IMimeAllocator.
Alexandre Julliard
julliard at winehq.org
Mon Mar 4 13:23:38 CST 2013
Module: wine
Branch: master
Commit: 3a9d744f126c8bc0ab2708ef312149faecac8ad0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a9d744f126c8bc0ab2708ef312149faecac8ad0
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Mar 4 00:32:40 2013 +0100
inetcomm: Use a static interface instance for IMimeAllocator.
---
dlls/inetcomm/mimeole.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index 2b7a0f3..c1fed51 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -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
};
More information about the wine-cvs
mailing list