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
5a6fe810
Commit
5a6fe810
authored
Dec 15, 2012
by
Alexandre Oliva
Committed by
Alexandre Oliva
Dec 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mf-hooks1.c (free): Return on NULL before any logging.
From-SVN: r194518
parent
1c959721
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libmudflap/ChangeLog
+4
-0
libmudflap/mf-hooks1.c
+2
-2
No files found.
libmudflap/ChangeLog
View file @
5a6fe810
2012-12-15 Alexandre Oliva <aoliva@redhat.com>
* mf-hooks1.c (free): Return on NULL before any logging.
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
...
...
libmudflap/mf-hooks1.c
View file @
5a6fe810
...
...
@@ -238,11 +238,11 @@ WRAPPER(void, free, void *buf)
static
int
freeq_initialized
=
0
;
DECLARE
(
void
,
free
,
void
*
);
BEGIN_PROTECT
(
free
,
buf
);
if
(
UNLIKELY
(
buf
==
NULL
))
return
;
BEGIN_PROTECT
(
free
,
buf
);
#if PIC
/* Check whether the given buffer might have come from a
__mf_0fn_malloc/calloc call that for whatever reason was not
...
...
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