| commit | 056f3760cd311faf088d6f5fe06498960788c8c7 | [log] [tgz] |
|---|---|---|
| author | Lou Berger <lberger@labn.net> | Wed Apr 10 12:30:04 2013 -0700 |
| committer | Paul Jakma <paul@quagga.net> | Tue Oct 27 11:00:29 2015 +0000 |
| tree | 6098f68402cefc8dbf0b832636390c453802a245 | |
| parent | 5c1791f28e2e831e4e9b92c3c2f7d8ed832cb968 [diff] |
bgpd, lib: memory cleanups for valgrind, plus debug changes
Description:
We use valgrind memcheck quite a bit to spot leaks in
our work with bgpd. In order to eliminate false positives,
we added code in the exit path to release the remaining
allocated memory.
Bgpd startup log message now includes pid.
Some little tweaks by Paul Jakma <paul.jakma@hpe.com>:
* bgp_mplsvpn.c: (str2prefix_rd) do the cleanup in common code at the end
and goto it.