You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/06/25 18:29:11 UTC

svn commit: r550539 - /spamassassin/branches/3.2/spamc/libspamc.h

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);