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
2fcf1220
Commit
2fcf1220
authored
Aug 29, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Avoid dynamic stack allocation.
parent
ed92d806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
where.c
dlls/msi/where.c
+3
-2
No files found.
dlls/msi/where.c
View file @
2fcf1220
...
...
@@ -610,7 +610,7 @@ static UINT WHERE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
MSIWHEREVIEW
*
wv
=
(
MSIWHEREVIEW
*
)
view
;
UINT
r
;
JOINTABLE
*
table
=
wv
->
tables
;
UINT
rows
[
wv
->
table_count
]
;
UINT
*
rows
;
TRACE
(
"%p %p
\n
"
,
wv
,
record
);
...
...
@@ -638,6 +638,7 @@ static UINT WHERE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
}
while
((
table
=
table
->
next
));
rows
=
msi_alloc
(
wv
->
table_count
*
sizeof
(
*
rows
)
);
r
=
check_condition
(
wv
,
record
,
wv
->
tables
,
rows
);
if
(
wv
->
order_info
)
...
...
@@ -647,7 +648,7 @@ static UINT WHERE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
if
(
wv
->
order_info
)
r
=
wv
->
order_info
->
error
;
msi_free
(
rows
);
return
r
;
}
...
...
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