]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_bsm.c
pimd: Prevent memory leak
authorDonald Sharp <sharpd@nvidia.com>
Fri, 13 Aug 2021 21:24:21 +0000 (17:24 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 13 Aug 2021 21:24:21 +0000 (17:24 -0400)
commit5f1808acab2a5bb79e6e85896be21d61d1e52e02
treefd611538b7ab8491164128cd860599ec53947c89
parent1523c0f9ee23468338a160e0a2f7c26f73d712a9
pimd: Prevent memory leak

When we decide that we do not need a item on the partial_bsrp_list
don't just drop the memory on the floor, free it up.

This was happening when we decided that a pending item has
a hold time of 0.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pim_bsm.c