[PATCH v2] libiberty(argv.c): Fix memory leak in expandargv.
Jeff Law
law@redhat.com
Fri Feb 19 05:01:33 GMT 2021
On 2/18/21 5:08 AM, Ayush Mittal via Gcc-patches wrote:
> libiberty/ChangeLog:
>
> * argv.c (expandargv): free allocated buffer if read fails.
I went ahead and committed this, even though we're in stage4 as other
projects use libiberty and it's a trivial enough change that they
shouldn't have to wait for the GCC development cycle to re-enter stage1.
Thanks,
Jeff
More information about the Gcc-patches
mailing list