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
e2a9e493
Commit
e2a9e493
authored
Oct 05, 2001
by
Huw D M Davies
Committed by
Alexandre Julliard
Oct 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unnecessary AddRef's.
parent
2c7cc631
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
typelib.c
dlls/oleaut32/typelib.c
+0
-4
No files found.
dlls/oleaut32/typelib.c
View file @
e2a9e493
...
...
@@ -1833,12 +1833,10 @@ int TLB_ReadTypeLib(LPCWSTR pszFileName, INT index, ITypeLib2 **ppTypeLib)
if
(
dwSignature
==
MSFT_SIGNATURE
)
{
*
ppTypeLib
=
ITypeLib2_Constructor_MSFT
(
pBase
,
dwTLBLength
);
ITypeLib2_AddRef
(
*
ppTypeLib
);
}
else
if
(
dwSignature
==
SLTG_SIGNATURE
)
{
*
ppTypeLib
=
ITypeLib2_Constructor_SLTG
(
pBase
,
dwTLBLength
);
ITypeLib2_AddRef
(
*
ppTypeLib
);
}
UnmapViewOfFile
(
pBase
);
}
...
...
@@ -1871,12 +1869,10 @@ int TLB_ReadTypeLib(LPCWSTR pszFileName, INT index, ITypeLib2 **ppTypeLib)
if
(
dwSignature
==
MSFT_SIGNATURE
)
{
*
ppTypeLib
=
ITypeLib2_Constructor_MSFT
(
pBase
,
dwTLBLength
);
ITypeLib2_AddRef
(
*
ppTypeLib
);
}
else
if
(
dwSignature
==
SLTG_SIGNATURE
)
{
*
ppTypeLib
=
ITypeLib2_Constructor_SLTG
(
pBase
,
dwTLBLength
);
ITypeLib2_AddRef
(
*
ppTypeLib
);
}
else
{
...
...
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