diff options
-rw-r--r-- | smtpd/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smtpd/filter.c b/smtpd/filter.c index c927e855..13f95c71 100644 --- a/smtpd/filter.c +++ b/smtpd/filter.c @@ -297,6 +297,8 @@ filter_event(uint64_t id, int event) if (event == EVENT_DISCONNECT) { io_clear(&s->iev); iobuf_clear(&s->ibuf); + if (s->ofile) + fclose(s->ofile); free(s); } } |