Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7d032a4f
Commit
7d032a4f
authored
25 years ago
by
Rainer Orth
Committed by
Bruce Korb
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix memory leak in run_compiles
From-SVN: r26822
parent
f2fee5be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
gcc/ChangeLog
+1
-0
gcc/fixinc/fixincl.c
+11
-6
No files found.
gcc/ChangeLog
View file @
7d032a4f
...
...
@@ -16,6 +16,7 @@ Fri May 7 14:19:31 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
(
sig_handler
)
:
Add
debug
code
.
*
fixinc
/
server
.
c
(
run_shell
)
:
Don
'
t
\
-
escape
cd
,
it
breaks
the
Ultrix
V4
.
3
/
bin
/
sh
.
*
fixinc
/
fixincl
.
c
(
run_compiles
)
:
fix
memory
leak
Thu
May
6
20
:
34
:
00
1999
Mark
Mitchell
<
mark
@codesourcery
.
com
>
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/fixincl.c
View file @
7d032a4f
...
...
@@ -634,12 +634,17 @@ run_compiles ()
/* Run the script.
The result will start either with 's' or 'r'. */
pz
=
run_shell
(
file_name_buf
);
if
(
*
pz
==
's'
)
{
p_fixd
->
fd_flags
|=
FD_SKIP_TEST
;
continue
;
}
{
int
skip
;
pz
=
run_shell
(
file_name_buf
);
skip
=
(
*
pz
==
's'
);
free
(
(
void
*
)
pz
);
if
(
skip
)
{
p_fixd
->
fd_flags
|=
FD_SKIP_TEST
;
continue
;
}
}
}
/* FOR every test for the fixup, ... */
...
...
This diff is collapsed.
Click to expand it.
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