* Denis Fondras <[email protected]> [2014-05-06 14:49]:
> > By the OS, which cleans up after the process exits.  If it wasn't that
> > way, we'd all have a much shorter uptime...
> Thank you Jérémie :)
> I had not considered it as I can see
> 
> ...
> free(ibuf_rde);
> ...
> free(ibuf_main);
> ...
> 
> at the end of session_main() in session.c.

we tend to have explicit free()s in bgpd since that allows us to find
memory leaks easier using instrumented alloc/free routines.

so not freeing conf isn't a bug, but makes the leak finding harder.

-- 
Henning Brauer, [email protected], [email protected]
BS Web Services GmbH, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS. Virtual & Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/

Reply via email to