summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-11-25 20:35:55 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-11-25 20:35:55 +0000
commitb15ff47f94d82c81611a7806f710066b190b8ecb (patch)
tree3f70e894eb0500e8d89ab178dcdc1ffc12d047de
parentc4c071bfe609bd3e0609d53e8fda6484f6c200c9 (diff)
- plug memory leak
-rw-r--r--usr.sbin/smtpd/smtp_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 103fb854ef5..c9ba7ed8815 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.12 2008/11/25 15:58:14 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.13 2008/11/25 20:35:54 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -754,6 +754,7 @@ read:
}
}
}
+ free(line);
}
goto read;
}