Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
a7059cc7
Commit
a7059cc7
authored
Jun 05, 2012
by
Rémy Oudompheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/[568]g: correct freeing of allocated Regs.
R=golang-dev, rsc CC=golang-dev, remy
https://golang.org/cl/6281050
parent
6763e5b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
reg.c
src/cmd/5g/reg.c
+2
-2
reg.c
src/cmd/6g/reg.c
+2
-2
reg.c
src/cmd/8g/reg.c
+2
-2
No files found.
src/cmd/5g/reg.c
View file @
a7059cc7
...
...
@@ -703,8 +703,8 @@ brk:
}
}
}
if
(
r1
!=
R
)
{
r1
->
link
=
freer
;
if
(
lastr
!=
R
)
{
lastr
->
link
=
freer
;
freer
=
firstr
;
}
...
...
src/cmd/6g/reg.c
View file @
a7059cc7
...
...
@@ -781,8 +781,8 @@ brk:
p
->
to
.
branch
=
p
->
to
.
branch
->
link
;
}
if
(
r1
!=
R
)
{
r1
->
link
=
freer
;
if
(
lastr
!=
R
)
{
lastr
->
link
=
freer
;
freer
=
firstr
;
}
...
...
src/cmd/8g/reg.c
View file @
a7059cc7
...
...
@@ -677,8 +677,8 @@ brk:
p
->
to
.
branch
=
p
->
to
.
branch
->
link
;
}
if
(
r1
!=
R
)
{
r1
->
link
=
freer
;
if
(
lastr
!=
R
)
{
lastr
->
link
=
freer
;
freer
=
firstr
;
}
...
...
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