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 | b9b64803f63e7ae3489d9fa0ade86bc83c61e44a (patch) | |
tree | 584daf5b12432f4f2e2d52cd0cc6481ae309943a /libiberty/ChangeLog | |
parent | bf8247ff45fff9e0b9502c05457f42a32ec5bd8b (diff) | |
download | gdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.zip gdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.tar.gz gdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.tar.bz2 |
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 f06dcb5..9afed43 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. |