diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-08-29 01:02:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-08-29 01:02:41 +0000 |
commit | 8b63b2833c26919b1f13840c08857750183b49a3 (patch) | |
tree | b39682b04fd902427e502df4970abff7dadcba81 /libiberty/ChangeLog | |
parent | 8bb94bcd8e71a06f92c9961df019f3fcd50a53cd (diff) | |
download | gdb-8b63b2833c26919b1f13840c08857750183b49a3.tar.gz |
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.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r-- | libiberty/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f06dcb52a66..9afed435855 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,5 +1,12 @@ 2011-08-28 H.J. Lu <hongjiu.lu@intel.com> + * 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 <hongjiu.lu@intel.com> + PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free. |