Recent cleanups

Alan DeKok aland at deployingradius.com
Mon Feb 12 16:35:49 CET 2007


Peter Nixon wrote:
>>   This should make it easier to track down *real* memory leaks inside of
>> the server.
> 
> Nice.

  I just committed a few patches to libltdl in CVS head.  Yes, we should
try to be close to their code (and the version we have is old), but in
the interest of cleanup.

  There are a lot of other complaints from valgrind about libltdl
over-reading buffers, but that's not much of a problem.

>>   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..

  Yeah, and added a few paircompare_unregister(), etc.

  It now leaks *zero* bytes at exit when using '-m'.  This includes
situations where it sends/receives packets.  So memory leaks should be a
whole lot easier to track down.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list