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
13490899
Commit
13490899
authored
Jun 22, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Fix some memory leaks (Coverity).
parent
597c5f9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
builtin.c
dlls/wbemprox/builtin.c
+4
-4
No files found.
dlls/wbemprox/builtin.c
View file @
13490899
...
...
@@ -1586,6 +1586,8 @@ static enum fill_status fill_datafile( struct table *table, const struct expr *c
for
(;;)
{
heap_free
(
glob
);
heap_free
(
path
);
path
=
pop_dir
(
dirstack
,
&
len
);
if
(
!
(
glob
=
build_glob
(
root
[
0
],
path
,
len
)))
{
...
...
@@ -1635,8 +1637,6 @@ static enum fill_status fill_datafile( struct table *table, const struct expr *c
FindClose
(
handle
);
}
if
(
!
peek_dir
(
dirstack
))
break
;
heap_free
(
glob
);
heap_free
(
path
);
}
}
...
...
@@ -1678,6 +1678,8 @@ static enum fill_status fill_directory( struct table *table, const struct expr *
for
(;;)
{
heap_free
(
glob
);
heap_free
(
path
);
path
=
pop_dir
(
dirstack
,
&
len
);
if
(
!
(
glob
=
build_glob
(
root
[
0
],
path
,
len
)))
{
...
...
@@ -1728,8 +1730,6 @@ static enum fill_status fill_directory( struct table *table, const struct expr *
FindClose
(
handle
);
}
if
(
!
peek_dir
(
dirstack
))
break
;
heap_free
(
glob
);
heap_free
(
path
);
}
}
...
...
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