* c-common.c (fname_as_string): Fix xcalloc to xmalloc.
From-SVN: r82384
This commit is contained in:
parent
9e6f2e7dca
commit
e851b37384
@ -1,3 +1,7 @@
|
|||||||
|
2004-05-28 Aldy Hernandez <aldyh@redhat.com>
|
||||||
|
|
||||||
|
* c-common.c (fname_as_string): Fix xcalloc to xmalloc.
|
||||||
|
|
||||||
2004-05-28 Aldy Hernandez <aldyh@redhat.com>
|
2004-05-28 Aldy Hernandez <aldyh@redhat.com>
|
||||||
|
|
||||||
* testsuite/g++.dg/charset/function.cc: New.
|
* testsuite/g++.dg/charset/function.cc: New.
|
||||||
|
@ -1119,7 +1119,7 @@ fname_as_string (int pretty_p)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
namep = (char *) xcalloc (strlen (name) + 1, sizeof (char));
|
namep = xmalloc (strlen (name) + 1);
|
||||||
namep = xstrdup (name);
|
namep = xstrdup (name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user