summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-06-14 20:07:01 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-20 20:28:26 -0400
commitb6175e0ca2a741e2efcf44422e014b0678cf0865 (patch)
tree8fc389452abf542e0e7939c92519ebfbafe7bb17 /lib/json.c
parente531bbe2f06e01e5f890e9a62ae25b093407e4c3 (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>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions