Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3abd27c6
Commit
3abd27c6
authored
May 05, 2006
by
Huw Davies
Committed by
Alexandre Julliard
May 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix VARIANT_UserFree.
parent
2898b5d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
usrmarshal.c
dlls/oleaut32/usrmarshal.c
+20
-17
No files found.
dlls/oleaut32/usrmarshal.c
View file @
3abd27c6
...
@@ -646,23 +646,26 @@ void WINAPI VARIANT_UserFree(unsigned long *pFlags, VARIANT *pvar)
...
@@ -646,23 +646,26 @@ void WINAPI VARIANT_UserFree(unsigned long *pFlags, VARIANT *pvar)
VariantClear
(
pvar
);
VariantClear
(
pvar
);
if
(
!
ref
)
return
;
if
(
!
ref
)
return
;
switch
(
vt
)
{
if
(
vt
&
VT_ARRAY
)
case
VT_BSTR
|
VT_BYREF
:
LPSAFEARRAY_UserFree
(
pFlags
,
V_ARRAYREF
(
pvar
));
BSTR_UserFree
(
pFlags
,
ref
);
else
break
;
{
case
VT_VARIANT
|
VT_BYREF
:
switch
(
vt
)
VARIANT_UserFree
(
pFlags
,
ref
);
{
break
;
case
VT_BSTR
|
VT_BYREF
:
case
VT_RECORD
|
VT_BYREF
:
BSTR_UserFree
(
pFlags
,
V_BSTRREF
(
pvar
));
FIXME
(
"handle BRECORD by ref
\n
"
);
break
;
break
;
case
VT_VARIANT
|
VT_BYREF
:
case
VT_UNKNOWN
:
VARIANT_UserFree
(
pFlags
,
V_VARIANTREF
(
pvar
));
case
VT_DISPATCH
:
break
;
IUnknown_Release
(
V_UNKNOWN
(
pvar
));
case
VT_RECORD
|
VT_BYREF
:
break
;
FIXME
(
"handle BRECORD by ref
\n
"
);
default:
break
;
FIXME
(
"handle unknown complex type
\n
"
);
case
VT_UNKNOWN
|
VT_BYREF
:
break
;
case
VT_DISPATCH
|
VT_BYREF
:
IUnknown_Release
(
*
V_UNKNOWNREF
(
pvar
));
break
;
}
}
}
CoTaskMemFree
(
ref
);
CoTaskMemFree
(
ref
);
...
...
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