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
5392014e
Commit
5392014e
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 more msi_custom_action_info when no longer needed.
parent
e86ebd75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
custom.c
dlls/msi/custom.c
+13
-3
No files found.
dlls/msi/custom.c
View file @
5392014e
...
...
@@ -851,6 +851,7 @@ static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source,
msi_custom_action_info
*
info
;
WCHAR
package_path
[
MAX_PATH
];
DWORD
size
;
UINT
r
;
static
const
WCHAR
backslash
[]
=
{
'\\'
,
0
};
...
...
@@ -863,7 +864,9 @@ static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source,
info
=
do_msidbCAConcurrentInstall
(
package
,
type
,
package_path
,
target
,
action
);
return
wait_thread_handle
(
info
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
return
r
;
}
static
UINT
HANDLE_CustomType1
(
MSIPACKAGE
*
package
,
LPCWSTR
source
,
...
...
@@ -953,6 +956,7 @@ static UINT HANDLE_CustomType17(MSIPACKAGE *package, LPCWSTR source,
{
msi_custom_action_info
*
info
;
MSIFILE
*
file
;
UINT
r
;
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
source
),
debugstr_w
(
target
));
...
...
@@ -965,7 +969,9 @@ static UINT HANDLE_CustomType17(MSIPACKAGE *package, LPCWSTR source,
info
=
do_msidbCustomActionTypeDll
(
package
,
type
,
file
->
TargetPath
,
target
,
action
);
return
wait_thread_handle
(
info
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
return
r
;
}
static
UINT
HANDLE_CustomType18
(
MSIPACKAGE
*
package
,
LPCWSTR
source
,
...
...
@@ -1345,6 +1351,7 @@ static UINT HANDLE_CustomType21_22(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
);
...
...
@@ -1357,6 +1364,7 @@ static UINT HANDLE_CustomType53_54(MSIPACKAGE *package, LPCWSTR source,
{
msi_custom_action_info
*
info
;
WCHAR
*
prop
;
UINT
r
;
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
source
),
debugstr_w
(
target
));
...
...
@@ -1366,7 +1374,9 @@ static UINT HANDLE_CustomType53_54(MSIPACKAGE *package, LPCWSTR source,
info
=
do_msidbCustomActionTypeScript
(
package
,
type
,
prop
,
NULL
,
action
);
msi_free
(
prop
);
return
wait_thread_handle
(
info
);
r
=
wait_thread_handle
(
info
);
release_custom_action_data
(
info
);
return
r
;
}
void
ACTION_FinishCustomActions
(
const
MSIPACKAGE
*
package
)
...
...
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