Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FRR] Adding patch to fix isisd memory leak
Fixing issue Repeat command "ip router isis 5" and "no ip router isis 5", there is memory leak in isisd - How I did it Root cause of the problem: The isis_lfa_excluded_ifaces_clear function in isis_lfa.c only clears the elements when clearing the hash table, but does not release the table itself. Release memory in hash_free: MTYPE_HASH*2 MTYPE_HASH_INDEX * 1 MTYPE_LINK_NODE * 1 Modification method: Add hash_free after hash_clean, and there is no need to empty it after release. - How to verify it Repeat command "ip router isis 5" and "no ip router isis 5", no memory leak in isisd
- Loading branch information