]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix struct attr_extra leak in bgp_default_originate()
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Mon, 7 May 2012 16:53:02 +0000 (16:53 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 May 2012 18:25:49 +0000 (20:25 +0200)
commit6182d65b23fc0362b173e2a9314fa4551523a1c2
treefb99eb9565f5ea8aa6a8b88eb9c4c05dc7cf364a
parentb9f1dca10f9a9bf853a9999a117c8cdeec5b7b69
bgpd: fix struct attr_extra leak in bgp_default_originate()

  The call to bgp_attr_default_set() above creates the attr_extra struct,
but the attr.extra = NULL initialization was leaking it.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_route.c