kbx: Fix resource leak.
authorJoshua Rogers <git@internot.info>
Fri, 30 Jan 2015 02:42:52 +0000 (11:42 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 30 Jan 2015 02:48:47 +0000 (11:48 +0900)
commit7db6c82cec49b7c56c403a8ea98364086baf75f3
tree8add676666a04c5b57ddb620be30b52579a68389
parent6ab0fac575a8b04152a199cb300a08436b096753
kbx: Fix resource leak.

* kbx/keybox-update.c (blob_filecopy): Fix resource leak.  On error
return, 'fp' and 'newfp' was never closed.

--

Signed-off-by: Joshua Rogers <git@internot.info>
[Log entry reformatted, and added more fixes - gniibe]
kbx/keybox-update.c