commit | 51a2e418910982dbe81af3b284e5b61ed01fbe15 | [log] [tgz] |
---|---|---|
author | miffedmap <miffedmap@mailinator.com> | Thu Feb 26 20:32:41 2015 +0200 |
committer | miffedmap <miffedmap@mailinator.com> | Thu Feb 26 20:32:41 2015 +0200 |
tree | f8098dd3e29c83b36791d53f75a2801e7a24f8de | |
parent | fffe8f13fe8fcc451e2d0eb2e14eaace762edb35 [diff] |
eliminate leak
diff --git a/SendingMail.md b/SendingMail.md index ba98737..afa2d77 100644 --- a/SendingMail.md +++ b/SendingMail.md
@@ -19,6 +19,7 @@ if err != nil { log.Fatal(err) } + defer c.Close() // Set the sender and recipient. c.Mail("sender@example.org") c.Rcpt("recipient@example.net")