Commit ea0d7e8b by Graham Stott Committed by Richard Henderson

* collect2.c (xrealloc): fix typo in last change.

From-SVN: r25079
parent acd663ee
Mon Feb 8 11:34:44 1999 Graham <grahams@rcp.co.uk>
* collect2.c (xrealloc): fix typo in last change.
Mon Feb 8 09:13:38 PST 1999 Jeff Law (law@cygnus.com)
* version.c: Bump for snapshot.
......
......@@ -553,7 +553,7 @@ xrealloc (old, size)
size_t size;
{
register PTR ptr;
if (ptr)
if (old)
ptr = (PTR) realloc (old, size);
else
ptr = (PTR) malloc (size);
......
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