Commit 5a6fe810 by Alexandre Oliva Committed by Alexandre Oliva

* mf-hooks1.c (free): Return on NULL before any logging.

From-SVN: r194518
parent 1c959721
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment