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
6253d49e
Commit
6253d49e
authored
May 22, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
May 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Fill tables at latest possible moment.
parent
d030b819
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
query.c
dlls/wbemprox/query.c
+3
-1
table.c
dlls/wbemprox/table.c
+0
-1
No files found.
dlls/wbemprox/query.c
View file @
6253d49e
...
...
@@ -245,7 +245,9 @@ static HRESULT execute_view( struct view *view )
{
UINT
i
,
j
=
0
,
len
;
if
(
!
view
->
table
||
!
view
->
table
->
num_rows
)
return
S_OK
;
if
(
!
view
->
table
)
return
S_OK
;
if
(
view
->
table
->
fill
&&
!
view
->
table
->
data
)
view
->
table
->
fill
(
view
->
table
);
if
(
!
view
->
table
->
num_rows
)
return
S_OK
;
len
=
min
(
view
->
table
->
num_rows
,
16
);
if
(
!
(
view
->
result
=
heap_alloc
(
len
*
sizeof
(
UINT
)
)))
return
E_OUTOFMEMORY
;
...
...
dlls/wbemprox/table.c
View file @
6253d49e
...
...
@@ -336,7 +336,6 @@ struct table *grab_table( const WCHAR *name )
{
if
(
!
strcmpiW
(
table
->
name
,
name
))
{
if
(
table
->
fill
&&
!
table
->
data
)
table
->
fill
(
table
);
TRACE
(
"returning %p
\n
"
,
table
);
return
addref_table
(
table
);
}
...
...
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