CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/07/12 17:19:39

Modified files:
        usr.sbin/smtpd : mta.c 

Log message:
free the copied envelope on the smarthost lookup failure path

mta_on_smarthost() frees the malloc'd envelope on success, but the
smarthost == NULL branch tempfailed the message and returned without
freeing it, leaking a struct envelope per failed lookup.

from Andrew Griffiths, ok op@

Reply via email to