]> git.ozlabs.org Git - ccan/commit
tools: Remove fd leak
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Apr 2017 09:17:12 +0000 (19:17 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Apr 2017 05:56:33 +0000 (15:56 +1000)
commitfb8e88fce366e0379e7f6098183145633a8afeae
tree065521de862ae15a5b80f00e77068608d3f7e5de
parent3c65e082a9547992222a9f379f2484cceaaedfa8
tools: Remove fd leak

compile_info() can leak an open file descriptor write_all() fails.  This
corrects it.

Found by Coverity.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/depends.c