]> git.puffer.fish Git - matthieu/frr.git/commit
Fix memory leak in bgpd/bgp_route.c
authorDenil Vira <denil@cumulusnetworks.com>
Tue, 11 Aug 2015 18:31:52 +0000 (11:31 -0700)
committerDenil Vira <denil@cumulusnetworks.com>
Tue, 11 Aug 2015 19:14:37 +0000 (12:14 -0700)
commit610f23cfff4f323a8a82657ff670187ad714a0fb
tree0021b007163cda5004812e4fdc39c725d0bbc8f9
parent262e75b1d7d32e4365204d47ddcd3559325e6a71
Fix memory leak in bgpd/bgp_route.c

Ticket : CM-7047
Reviewed by : CCR-3321
Testing : Trivial

In function bgp_aggregate_add, variables 'aspath' and 'community' are
malloced but not guaranteed to be freed before the function returns.
bgpd/bgp_route.c