summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pimd/pim_upstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c
index 751611479e..1fc952fdf8 100644
--- a/pimd/pim_upstream.c
+++ b/pimd/pim_upstream.c
@@ -698,6 +698,8 @@ static struct pim_upstream *pim_upstream_new(struct pim_instance *pim,
if (up->sources)
list_delete(up->sources);
+ list_delete(up->ifchannels);
+
hash_release(pim->upstream_hash, up);
XFREE(MTYPE_PIM_UPSTREAM, up);
return NULL;