Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
64410e59
Commit
64410e59
authored
Nov 08, 2006
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Nov 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: typelib - fix regression in MSFT typelib parsing.
parent
6bf97313
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
typelib.c
dlls/oleaut32/typelib.c
+10
-3
No files found.
dlls/oleaut32/typelib.c
View file @
64410e59
...
...
@@ -1173,7 +1173,7 @@ static void dump_TLBFuncDescOne(const TLBFuncDesc * pfd)
dump_FUNCDESC
(
&
(
pfd
->
funcdesc
));
MESSAGE
(
"
\t
helpstring: %s
\n
"
,
debugstr_w
(
pfd
->
HelpString
));
MESSAGE
(
"
\t
entry: %s
\n
"
,
debugstr_w
(
pfd
->
Entry
));
MESSAGE
(
"
\t
entry: %s
\n
"
,
(
pfd
->
Entry
==
(
void
*
)
-
1
)
?
"invalid"
:
debugstr_w
(
pfd
->
Entry
));
}
static
void
dump_TLBFuncDesc
(
const
TLBFuncDesc
*
pfd
)
{
...
...
@@ -1813,7 +1813,9 @@ MSFT_DoFuncs(TLBContext* pcx,
{
if
(
pFuncRec
->
FKCCIC
&
0x2000
)
{
(
*
pptfd
)
->
Entry
=
SysAllocString
((
WCHAR
*
)
pFuncRec
->
OptAttr
[
2
]);
if
(
HIWORD
(
pFuncRec
->
OptAttr
[
2
])
!=
0
)
ERR
(
"ordinal 0x%08x invalid, HIWORD != 0
\n
"
,
pFuncRec
->
OptAttr
[
2
]);
(
*
pptfd
)
->
Entry
=
(
BSTR
)
pFuncRec
->
OptAttr
[
2
];
}
else
{
...
...
@@ -1832,6 +1834,10 @@ MSFT_DoFuncs(TLBContext* pcx,
}
}
}
else
{
(
*
pptfd
)
->
Entry
=
(
BSTR
)
-
1
;
}
}
}
...
...
@@ -4437,7 +4443,8 @@ static ULONG WINAPI ITypeInfo_fnRelease(ITypeInfo2 *iface)
pCustDataNext
=
pCustData
->
next
;
TLB_Free
(
pCustData
);
}
SysFreeString
(
pFInfo
->
Entry
);
if
(
HIWORD
(
pFInfo
->
Entry
)
!=
0
&&
pFInfo
->
Entry
!=
(
BSTR
)
-
1
)
SysFreeString
(
pFInfo
->
Entry
);
SysFreeString
(
pFInfo
->
HelpString
);
SysFreeString
(
pFInfo
->
Name
);
...
...
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