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
fbcc1875
Commit
fbcc1875
authored
Feb 10, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Added some strarray_free() (Coverity).
parent
ca469499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
winegcc.c
tools/winegcc/winegcc.c
+4
-0
No files found.
tools/winegcc/winegcc.c
View file @
fbcc1875
...
...
@@ -438,6 +438,7 @@ no_compat_defines:
strarray_add
(
comp_args
,
strmake
(
"-I%s/include"
,
opts
->
wine_objdir
)
);
spawn
(
opts
->
prefix
,
comp_args
,
0
);
strarray_free
(
comp_args
);
}
static
const
char
*
compile_to_object
(
struct
options
*
opts
,
const
char
*
file
,
const
char
*
lang
)
...
...
@@ -692,6 +693,7 @@ static void build(struct options* opts)
}
spawn
(
opts
->
prefix
,
spec_args
,
0
);
strarray_free
(
spec_args
);
/* link everything together now */
link_args
=
strarray_alloc
();
...
...
@@ -755,6 +757,7 @@ static void build(struct options* opts)
}
spawn
(
opts
->
prefix
,
link_args
,
0
);
strarray_free
(
link_args
);
/* set the base address */
if
(
opts
->
image_base
)
...
...
@@ -792,6 +795,7 @@ static void forward(int argc, char **argv, struct options* opts)
strarray_add
(
args
,
argv
[
j
]);
spawn
(
opts
->
prefix
,
args
,
0
);
strarray_free
(
args
);
}
/*
...
...
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