aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-01-22 23:29:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-01-22 23:29:21 +0000
commita35cbc05374d8b3fb91f660c6f2683bd33e538b9 (patch)
treeca85c28761ff8b0a83264d42f107d0fb7c9b39f9 /driver.c
parent44ba67b1682df365fa1c2fa468e73ee8e0af7be3 (diff)
downloadfetchmail-a35cbc05374d8b3fb91f660c6f2683bd33e538b9.tar.gz
fetchmail-a35cbc05374d8b3fb91f660c6f2683bd33e538b9.tar.bz2
fetchmail-a35cbc05374d8b3fb91f660c6f2683bd33e538b9.zip
Address Dave Bodenstab's bug.
svn path=/trunk/; revision=1601
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index d89d278d..e9c5aedb 100644
--- a/driver.c
+++ b/driver.c
@@ -1509,6 +1509,8 @@ const struct method *proto; /* protocol method table */
close(ctl->smtp_socket);
if (sock != -1)
close(sock);
+ if (sinkfp)
+ pclose(sinkfp);
ok = PS_ERROR;
}
else