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
2a31a3c0
Commit
2a31a3c0
authored
Oct 29, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't create a copy of deferred custom action data.
parent
929d2340
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
custom.c
dlls/msi/custom.c
+4
-9
No files found.
dlls/msi/custom.c
View file @
2a31a3c0
...
...
@@ -1225,23 +1225,19 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
UINT
rc
=
ERROR_SUCCESS
;
MSIRECORD
*
row
;
UINT
type
;
LPCWSTR
source
,
target
;
LPWSTR
ptr
,
deferred_data
=
NULL
;
LPWSTR
deformated
=
NULL
,
action_copy
=
strdupW
(
action
);
const
WCHAR
*
source
,
*
target
,
*
ptr
,
*
deferred_data
=
NULL
;
WCHAR
*
deformated
=
NULL
;
/* deferred action: [properties]Action */
if
((
ptr
=
strrchrW
(
action
_copy
,
']'
)))
if
((
ptr
=
strrchrW
(
action
,
']'
)))
{
deferred_data
=
action
_copy
;
deferred_data
=
action
;
action
=
ptr
+
1
;
}
row
=
MSI_QueryGetRecord
(
package
->
db
,
query
,
action
);
if
(
!
row
)
{
msi_free
(
action_copy
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
type
=
MSI_RecordGetInteger
(
row
,
2
);
source
=
MSI_RecordGetString
(
row
,
3
);
...
...
@@ -1361,7 +1357,6 @@ end:
package
->
scheduled_action_running
=
FALSE
;
package
->
commit_action_running
=
FALSE
;
package
->
rollback_action_running
=
FALSE
;
msi_free
(
action_copy
);
msiobj_release
(
&
row
->
hdr
);
return
rc
;
}
...
...
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