Fix windres memory leak
authorChen Gang <gang.chen.5i5j@gmail.com>
Tue, 9 Dec 2014 07:00:40 +0000 (17:30 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 9 Dec 2014 07:01:55 +0000 (17:31 +1030)
commit137d1369ac054744d27f19e95aa8a739e6c0068d
treec780e7a1b174b19b677d1fd063f911a4f56b91f4
parent77ab336ea162fa8d7a9a9e005d7e2865a210b375
Fix windres memory leak

* windres.c (open_file_search): Free path buffer on failure.
binutils/ChangeLog
binutils/windres.c