diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-21 19:27:49 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-21 19:27:49 +0000 |
| commit | 39e92c066f210b0b550489e98d3b767ee1553e52 (patch) | |
| tree | 70928b277635d25cb717b8ceb103dd1d5e26f732 /pimd/pim_static.c | |
| parent | 630a298ca76a0e37c263dc1d2c3053cbddc9ccb3 (diff) | |
| parent | ce01a2ca3f4501b75e55fe325c150eb9c2ae329d (diff) | |
Merge branch 'cmaster-next' into vtysh-grammar
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Conflicts:
bgpd/bgp_encap.c
bgpd/bgp_route.c
lib/command.c
lib/command.h
ospf6d/ospf6d.c
vtysh/vtysh.c
Diffstat (limited to 'pimd/pim_static.c')
| -rw-r--r-- | pimd/pim_static.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c index c1154dc088..5882142b32 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -198,6 +198,10 @@ int pim_static_add(struct interface *iif, struct interface *oif, struct in_addr pim_static_route_free(s_route); } + if (original_s_route) { + pim_static_route_free(original_s_route); + } + return -1; } |
