Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
5a9d74a3
Commit
5a9d74a3
authored
Jan 24, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: COM cleanup for the IMalloc iface.
parent
591b5942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
imalloc.c
dlls/mapi32/imalloc.c
+4
-4
No files found.
dlls/mapi32/imalloc.c
View file @
5a9d74a3
...
...
@@ -41,11 +41,11 @@ static const IMallocVtbl MAPI_IMalloc_vt;
typedef
struct
{
const
IMallocVtbl
*
lpVtbl
;
IMalloc
IMalloc_iface
;
LONG
lRef
;
}
MAPI_IMALLOC
;
static
MAPI_IMALLOC
MAPI_IMalloc
=
{
&
MAPI_IMalloc_vt
,
0u
};
static
MAPI_IMALLOC
MAPI_IMalloc
=
{
{
&
MAPI_IMalloc_vt
},
0
};
extern
LONG
MAPI_ObjectCount
;
/* In mapi32_main.c */
...
...
@@ -67,8 +67,8 @@ LPMALLOC WINAPI MAPIGetDefaultMalloc(void)
if
(
mapiFunctions
.
MAPIGetDefaultMalloc
)
return
mapiFunctions
.
MAPIGetDefaultMalloc
();
IMalloc_AddRef
(
(
LPMALLOC
)
&
MAPI_IMalloc
);
return
(
LPMALLOC
)
&
MAPI_IMalloc
;
IMalloc_AddRef
(
&
MAPI_IMalloc
.
IMalloc_iface
);
return
&
MAPI_IMalloc
.
IMalloc_iface
;
}
/**************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment