mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +00:00
pimd: Don't leak wheel memory
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
27cfe2224c
commit
0c68972d53
@ -1546,6 +1546,10 @@ void pim_upstream_terminate(struct pim_instance *pim)
|
||||
if (pim->upstream_hash)
|
||||
hash_free(pim->upstream_hash);
|
||||
pim->upstream_hash = NULL;
|
||||
|
||||
if (pim->upstream_sg_wheel)
|
||||
wheel_delete(pim->upstream_sg_wheel);
|
||||
pim->upstream_sg_wheel = NULL;
|
||||
}
|
||||
|
||||
int pim_upstream_equal(const void *arg1, const void *arg2)
|
||||
|
Loading…
Reference in New Issue
Block a user