Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a905217b
Commit
a905217b
authored
Feb 02, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a copy and paste error, check for a null value and discard
unneeded errors.
parent
79a6626b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
appsearch.c
dlls/msi/appsearch.c
+7
-1
No files found.
dlls/msi/appsearch.c
View file @
a905217b
...
...
@@ -127,7 +127,7 @@ static UINT ACTION_AppSearchGetSignature(MSIPACKAGE *package, MSISIGNATURE *sig,
maxVersion
=
load_dynamic_stringW
(
row
,
4
);
if
(
maxVersion
)
{
ACTION_VerStrToInteger
(
m
in
Version
,
&
sig
->
MaxVersionMS
,
ACTION_VerStrToInteger
(
m
ax
Version
,
&
sig
->
MaxVersionMS
,
&
sig
->
MaxVersionLS
);
HeapFree
(
GetProcessHeap
(),
0
,
maxVersion
);
}
...
...
@@ -610,6 +610,9 @@ static UINT ACTION_RecurseSearchDirectory(MSIPACKAGE *package, BOOL *appFound,
}
else
rc
=
ERROR_OUTOFMEMORY
;
if
(
rc
!=
ERROR_OUTOFMEMORY
)
rc
=
ERROR_SUCCESS
;
return
rc
;
}
...
...
@@ -689,6 +692,9 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, BOOL *appFound,
ERR
(
"Error is %x
\n
"
,
rc
);
goto
end
;
}
if
(
MSI_RecordIsNull
(
row
,
4
))
depth
=
0
;
else
depth
=
MSI_RecordGetInteger
(
row
,
4
);
ACTION_ExpandAnyPath
(
package
,
buffer
,
expanded
,
sizeof
(
expanded
)
/
sizeof
(
expanded
[
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