[cvs] memory leaks

Matthias Andree matthias.andree at gmx.de
Fri Dec 31 10:36:24 CET 2004


Tom Anderson <tanderso at oac-design.com> writes:

> I, for one, appreciate zero memory leaks, no matter how small or
> seemingly insignificant.  Good job.  Don't let David intimidate you into
> explaining away the fixes as debugging convenience ;)

I won't go any length to plug any leak.

If a static variable holding a buffer leaks memory, so be it.

I will however fix even a 4-byte leak when that happens in a loop or in
a function that can run more than once per execution, unless I'm 100%
sure the memory use is bounded to same harmless amount.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list