Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] DOes SPF cause memory leak?

2008-10-23 by Emmanuel Dreyfus

On Thu, Oct 23, 2008 at 11:53:10AM +0200, Petar Bogdanovic wrote:
> On Thu, Oct 23, 2008 at 09:46:35AM +0000, Emmanuel Dreyfus wrote:
> > On Thu, Oct 23, 2008 at 11:17:15AM +0200, Petar Bogdanovic wrote:
> > [SPF may be the culprit for memory leaks]
> > 
> > Which libspf do you use? We support 3 of them.
> 
> libspf_alt
> I will try mail/libspf2 from pkgsrc but which one is the third one?

libspf (neither alt, nor 2)

Reading the documentation, it seems that for libspf, SPF_close does not
free memory,and free() must be called on the peer_info_t obtained from
SPF_init(). Anyone can confirm?

If this is true, then we have a first memory leak here.

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.