summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-16 13:17:56 -0400
committerPaul Jakma <paul@quagga.net>2015-09-24 15:26:44 +0100
commitb3eeabee657df14509ce50d5f64262b672e87d62 (patch)
tree81b2a1382e84f4c0754c6c3814222b90106f04b5 /lib
parent104576dcafe356985326b2950bfc50962702b4fb (diff)
downloadquagga-b3eeabee657df14509ce50d5f64262b672e87d62.tar.bz2
quagga-b3eeabee657df14509ce50d5f64262b672e87d62.tar.xz
bgpd: Fix 'struct peer' memory leaks
peer_delete has been written to handle the peer->group pointer and to remove the peer from the peer group if it exists upon deletion being called. Shutdown/deletion Code was intentionally setting the peer-group to NULL prior to calling peer_delete. This leaked the memory associated with the peer->group because of refcnt accounting. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions