]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/argv.c
Replace malloc with xmalloc
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 29 Aug 2012 01:03:21 +0000 (01:03 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 29 Aug 2012 01:03:21 +0000 (18:03 -0700)
commitfabfa16b371e9354e2a62d88e80a698ba161ee3c
treed4cc491f04201443b0e7ac3a12dc0f9a9ea9a607
parent55529d369ca6e3abb90f1e316e671d69764da19b
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.

From-SVN: r190767
libiberty/ChangeLog
libiberty/argv.c