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
73c7bcb6
Commit
73c7bcb6
authored
Oct 10, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix memory leaks and bad frees.
parent
5b160a42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
appsearch.c
dlls/msi/appsearch.c
+2
-2
custom.c
dlls/msi/custom.c
+3
-0
database.c
dlls/msi/database.c
+1
-0
No files found.
dlls/msi/appsearch.c
View file @
73c7bcb6
...
...
@@ -398,7 +398,7 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, LPWSTR *appValue,
appValue
);
break
;
case
msidbLocatorTypeFileName
:
*
appValue
=
(
LPWSTR
)
value
;
*
appValue
=
strdupW
((
LPCWSTR
)
value
)
;
break
;
case
msidbLocatorTypeRawValue
:
ACTION_ConvertRegValue
(
regType
,
value
,
sz
,
appValue
);
...
...
@@ -996,7 +996,7 @@ UINT ACTION_AppSearch(MSIPACKAGE *package)
while
(
!
rc
)
{
MSISIGNATURE
sig
;
LPWSTR
value
;
LPWSTR
value
=
NULL
;
rc
=
MSI_ViewFetch
(
view
,
&
row
);
if
(
rc
!=
ERROR_SUCCESS
)
...
...
dlls/msi/custom.c
View file @
73c7bcb6
...
...
@@ -167,7 +167,10 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute)
row
=
MSI_QueryGetRecord
(
package
->
db
,
ExecSeqQuery
,
action
);
if
(
!
row
)
{
msi_free
(
action_copy
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
type
=
MSI_RecordGetInteger
(
row
,
2
);
...
...
dlls/msi/database.c
View file @
73c7bcb6
...
...
@@ -668,6 +668,7 @@ done:
msi_free
(
data
);
msi_free
(
columns
);
msi_free
(
types
);
msi_free
(
labels
);
for
(
i
=
0
;
i
<
num_records
;
i
++
)
msi_free
(
records
[
i
]);
...
...
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