From b9b64803f63e7ae3489d9fa0ade86bc83c61e44a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 29 Aug 2012 01:02:41 +0000 Subject: Replace malloc with xmalloc * argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return. --- libiberty/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libiberty/ChangeLog') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f06dcb5..9afed43 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,5 +1,12 @@ 2011-08-28 H.J. Lu + * argv.c (dupargv): Replace malloc with xmalloc. Don't check + xmalloc return. + (buildargv): Likewise. Also replace strdup with xstrdup. + (expandargv): Don't check dupargv return. + +2011-08-28 H.J. Lu + PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free. -- cgit v1.1