Recent cleanups

Peter Nixon listuser at
Mon Feb 12 16:02:43 CET 2007

On Mon 12 Feb 2007 16:13, Alan DeKok wrote:
>   I've been doing some minor butchery to the code, scattered all over
> the place.  It's a result of running "valgrind", with full leak checking
> enabled.  I've found a number of places where memory was being leaked.
> They weren't serious, but they should be fixed.
>   The code now leaks ~300 bytes on a normal startup to clean exit, where
> it doesn't receive packets.  That's down from 100's of K before.
>   This should make it easier to track down *real* memory leaks inside of
> the server.


>   Plus, I've integrated the configuration file parser && free code.  So
> all of the modules that previously laboriously free'd strings allocated
> by cf_section_parse() don't have to do that any more.  That should make
> the code a little cleaner.

Ohhh.. Goody..


Peter Nixon
PGP Key:

More information about the Freeradius-Devel mailing list