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
e86ebd75
Commit
e86ebd75
authored
Jun 21, 2009
by
Hib Eris
Committed by
Alexandre Julliard
Jun 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Release msi_custom_action_info when no longer needed.
parent
65ac2061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
custom.c
dlls/msi/custom.c
+9
-5
No files found.
dlls/msi/custom.c
View file @
e86ebd75
...
...
@@ -888,7 +888,9 @@ static UINT HANDLE_CustomType1(MSIPACKAGE *package, LPCWSTR source,
info
=
do_msidbCustomActionTypeDll
(
package
,
type
,
tmp_file
,
target
,
action
);
return
wait_thread_handle
(
info
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
return
r
;
}
static
UINT
HANDLE_CustomType2
(
MSIPACKAGE
*
package
,
LPCWSTR
source
,
...
...
@@ -1167,9 +1169,7 @@ static DWORD ACTION_CallScript( const GUID *guid )
else
ERR
(
"failed to create handle for %p
\n
"
,
info
->
package
);
if
(
info
->
type
&
msidbCustomActionTypeAsync
&&
info
->
type
&
msidbCustomActionTypeContinue
)
release_custom_action_data
(
info
);
release_custom_action_data
(
info
);
return
S_OK
;
}
...
...
@@ -1226,13 +1226,16 @@ static msi_custom_action_info *do_msidbCustomActionTypeScript(
static
UINT
HANDLE_CustomType37_38
(
MSIPACKAGE
*
package
,
LPCWSTR
source
,
LPCWSTR
target
,
const
INT
type
,
LPCWSTR
action
)
{
UINT
r
;
msi_custom_action_info
*
info
;
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
source
),
debugstr_w
(
target
));
info
=
do_msidbCustomActionTypeScript
(
package
,
type
,
target
,
NULL
,
action
);
return
wait_thread_handle
(
info
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
return
r
;
}
static
UINT
HANDLE_CustomType5_6
(
MSIPACKAGE
*
package
,
LPCWSTR
source
,
...
...
@@ -1277,6 +1280,7 @@ static UINT HANDLE_CustomType5_6(MSIPACKAGE *package, LPCWSTR source,
info
=
do_msidbCustomActionTypeScript
(
package
,
type
,
bufferw
,
target
,
action
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
done:
msi_free
(
bufferw
);
...
...
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