summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/MailServer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MailServer.cc b/lib/MailServer.cc
index 6b06219..5ea735a 100644
--- a/lib/MailServer.cc
+++ b/lib/MailServer.cc
@@ -74,6 +74,7 @@ int ProcessSMTPRequest::Do() {
case 1:
delete c;
+ b.reset();
c = new ReadJob(&s, &b, any);
WaitFor(c);
current = 2;
@@ -132,6 +133,7 @@ int ProcessSMTPRequest::Do() {
case 4:
delete c;
+ b.reset();
c = new ReadJob(&s, &b, single_dot);
WaitFor(c);
current = 5;