Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add: make pathless 'add [-u|-A]' warning a file-global function
[gitweb.git]
/
gpg-interface.c
diff --git
a/gpg-interface.c
b/gpg-interface.c
index e8eba1ad99f6de4987d6d69064fee7f2d74d9120..45590330aa3131da69174899783913cee9a44c31 100644
(file)
--- a/
gpg-interface.c
+++ b/
gpg-interface.c
@@
-130,8
+130,10
@@
int verify_signed_buffer(const char *payload, size_t payload_size,
write_in_full(gpg.in, payload, payload_size);
close(gpg.in);
- if (gpg_output)
+ if (gpg_output)
{
strbuf_read(gpg_output, gpg.err, 0);
+ close(gpg.err);
+ }
ret = finish_command(&gpg);
unlink_or_warn(path);