summaryrefslogtreecommitdiff
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-04-23 08:34:47 -0400
committerGitHub <noreply@github.com>2019-04-23 08:34:47 -0400
commitc1f0465a3d15f6e7fc709e5523b3ac7b4f62cfd6 (patch)
treea0658fb38610efe7a7af667686fbf7e5537380bc /lib/if_rmap.c
parentf799ea3f940dc8107e677f4349fcd542cf01305b (diff)
parentcbcbac457870a9b569104b8250e57f0bd8d55114 (diff)
Merge pull request #4162 from opensourcerouting/rip-issues
ripd, ripngd: fix cleaning up of offset lists
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r--lib/if_rmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c
index d8236b6b25..b0802da961 100644
--- a/lib/if_rmap.c
+++ b/lib/if_rmap.c
@@ -291,6 +291,7 @@ int config_write_if_rmap(struct vty *vty,
void if_rmap_ctx_delete(struct if_rmap_ctx *ctx)
{
+ listnode_delete(if_rmap_ctx_list, ctx);
hash_clean(ctx->ifrmaphash, (void (*)(void *))if_rmap_free);
if (ctx->name)
XFREE(MTYPE_IF_RMAP_CTX_NAME, ctx);