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
bb313c9d
Commit
bb313c9d
authored
Oct 19, 2004
by
Walt Ogburn
Committed by
Alexandre Julliard
Oct 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SafeArrayDestroyData - keep pointer, don't destroy data if FADF_STATIC
is set.
parent
5d5f5230
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
safearray.c
dlls/oleaut32/safearray.c
+2
-1
No files found.
dlls/oleaut32/safearray.c
View file @
bb313c9d
...
...
@@ -1254,7 +1254,8 @@ HRESULT WINAPI SafeArrayDestroyData(SAFEARRAY *psa)
if
(
psa
->
cLocks
)
return
DISP_E_ARRAYISLOCKED
;
/* Can't delete a locked array */
if
(
psa
->
pvData
)
/* If static, keep pvData and don't free */
if
(
psa
->
pvData
&&
!
(
psa
->
fFeatures
&
FADF_STATIC
))
{
/* Delete the actual item data */
if
(
FAILED
(
SAFEARRAY_DestroyData
(
psa
,
0
)))
...
...
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