commit | c8e80972d5b99fb8baaa367a726f1dc36a840744 | [log] [tgz] |
---|---|---|
author | Christian Franke <nobody@nowhere.ws> | Tue Jun 14 20:07:01 2016 +0200 |
committer | Paul Jakma <paul@quagga.net> | Mon Jan 23 18:51:54 2017 +0000 |
tree | 470029d31433fef22dbd1cd538173a1cc396a163 | |
parent | 32e41f75fd1735071e0fa0bdd918e9b1241d1837 [diff] |
bgpd: fix memory leaks in show commands sockunion_str2su allocates a struct sockunion that used to be leaked in the show commands. Use str2sockunion and keep the information on the stack instead. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>