diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-02 13:16:51 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-02 15:39:10 -0400 |
| commit | 69ccd63e57762dd45ed8fd81b76b94948b58b506 (patch) | |
| tree | f7eadfe5b69d517d2f873636f084717abbef6b41 /pimd/pim_instance.c | |
| parent | dacb17162a71369249ac0703a31ee7983fe37b6d (diff) | |
pimd: Squash some more memory leaks
When a interface is flapped we were leaking some memory
associated with link lists. Especially in the jp_agg
code. If your network was/is stable and you are not
running at any scale you probably would not see this
as impactful at all.
Ticket: CM-16392
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
| -rw-r--r-- | pimd/pim_instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index 7bee75fae7..7fc77556ec 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -48,7 +48,7 @@ static void pim_instance_terminate(struct pim_instance *pim) } if (pim->static_routes) - list_free(pim->static_routes); + list_delete(pim->static_routes); pim_rp_free(pim); |
