[PATCH v2] libiberty(argv.c): Fix memory leak in expandargv
authorAyush Mittal <ayush.m@samsung.com>
Fri, 19 Feb 2021 04:59:03 +0000 (21:59 -0700)
committerJeff Law <law@redhat.com>
Fri, 19 Feb 2021 05:00:06 +0000 (22:00 -0700)
commit0b2b7ef3676920c120d9b329e5b65924650ab44c
tree72664f00635506847ca548af99a9f4172b704983
parentd909ead68214042e9876a8df136d0835273d4b86
[PATCH v2] libiberty(argv.c): Fix memory leak in expandargv

libiberty:
* argv.c (expandargv): free allocated buffer if read fails.
libiberty/argv.c