aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/em-junk-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-junk-filter.c b/mail/em-junk-filter.c
index 6123e7e3e2..f4dd5ea719 100644
--- a/mail/em-junk-filter.c
+++ b/mail/em-junk-filter.c
@@ -172,6 +172,7 @@ pipe_to_sa_with_error (CamelMimeMessage *msg, const char *in, char **argv, int r
camel_object_unref (stream);
} else if (in) {
camel_write (fds[1], in, strlen (in));
+ close (fds[1]);
}
result = waitpid (pid, &status, 0);