Fix memory leak in ar if it encounters an invalid path whilst extracting files.
authorNick Clifton <nickc@redhat.com>
Tue, 4 Aug 2015 13:50:40 +0000 (14:50 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 4 Aug 2015 13:50:40 +0000 (14:50 +0100)
commit4e13f8fb05eb7ffd163d96e519cc011d8d21e3d7
treeee05ada407be5e93ebec9769feca9b1b478fe89d
parent524b57e6b3a36e0ce6573bbc4dba9f0bd9c165b1
Fix memory leak in ar if it encounters an invalid path whilst extracting files.

* ar.c (extract_file): Free cbuf if the path is invalid.
binutils/ar.c