mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 20:18:54 +00:00
isisd: fix flex-algo data memory leak at algorithm removal
Fix a flex-algo data memory leak when a specific algorithm is removed.
Fixes: 7f198e063c
("isisd: add isis flex-algo base interface")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
87acad8698
commit
a44681a793
@ -70,6 +70,7 @@ void isis_flex_algo_data_free(void *voiddata)
|
||||
if (data->spftree[tree][level - 1])
|
||||
isis_spftree_del(
|
||||
data->spftree[tree][level - 1]);
|
||||
XFREE(MTYPE_FLEX_ALGO, data);
|
||||
}
|
||||
|
||||
static struct isis_router_cap_fad *
|
||||
|
Loading…
Reference in New Issue
Block a user