Return-Path: Delivered-To: apmail-spamassassin-commits-archive@www.apache.org Received: (qmail 58340 invoked from network); 25 Jun 2007 16:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2007 16:29:32 -0000 Received: (qmail 82429 invoked by uid 500); 25 Jun 2007 16:29:36 -0000 Delivered-To: apmail-spamassassin-commits-archive@spamassassin.apache.org Received: (qmail 82415 invoked by uid 500); 25 Jun 2007 16:29:36 -0000 Mailing-List: contact commits-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "SpamAssassin Dev" List-Id: Delivered-To: mailing list commits@spamassassin.apache.org Received: (qmail 82404 invoked by uid 99); 25 Jun 2007 16:29:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 09:29:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 09:29:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 0F7A21A981C; Mon, 25 Jun 2007 09:29:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r550539 - /spamassassin/branches/3.2/spamc/libspamc.h Date: Mon, 25 Jun 2007 16:29:11 -0000 To: commits@spamassassin.apache.org From: jm@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070625162912.0F7A21A981C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jm Date: Mon Jun 25 09:29:10 2007 New Revision: 550539 URL: http://svn.apache.org/viewvc?view=rev&rev=550539 Log: bug 5531: transport_setup() leaks a small amount of memory each time it's called; document this in a comment Modified: spamassassin/branches/3.2/spamc/libspamc.h Modified: spamassassin/branches/3.2/spamc/libspamc.h URL: http://svn.apache.org/viewvc/spamassassin/branches/3.2/spamc/libspamc.h?view=diff&rev=550539&r1=550538&r2=550539 ============================================================================== --- spamassassin/branches/3.2/spamc/libspamc.h (original) +++ spamassassin/branches/3.2/spamc/libspamc.h Mon Jun 25 09:29:10 2007 @@ -235,6 +235,10 @@ int retry_sleep; }; +/* Initialise and setup transport-specific context for the connection + * to spamd. Note that this may leak a small amount of string data for + * the remote hostname (bug 5531) if called repeatedly; SpamAssassin + * 3.3.0 will include a new API to free this leakage. */ extern void transport_init(struct transport *tp); extern int transport_setup(struct transport *tp, int flags);